refactor: use ftpmirror.gnu.org for gnu packages (#26)

https://ftp.gnu.org is very, *very* slow. From the [GNU downloads page](https://www.gnu.org/prep/ftp.en.html):

> [...]please try to use one of the many mirrors of our site listed below: the mirrors will give you faster response. [...] You can use the generic URLs https://ftpmirror.gnu.org and http://ftpmirror.gnu.org to automatically choose a nearby and up-to-date mirror.

Indeed, in my experience the mirrors are much faster. I don't see a reason we shouldn't default to them personally, so I've changed the default here.

Also see: auxolotl/foundation#8

Reviewed-on: #26
Reviewed-by: vlinkz <vlinkz@snowflakeos.org>
Co-authored-by: Ruby Iris Juric <ruby@srxl.me>
Co-committed-by: Ruby Iris Juric <ruby@srxl.me>
This commit is contained in:
Ruby Iris Juric 2025-10-04 21:53:41 +00:00 committed by vlinkz
parent 02a45110c9
commit 7f61482c7f

View file

@ -4,7 +4,7 @@
gnu = lib.options.create {
description = "The GNU mirror to use";
type = lib.types.string;
default.value = "https://ftp.gnu.org/gnu";
default.value = "https://ftpmirror.gnu.org/gnu";
};
};
}