nixos: move left-behind allowUnfree comment

Changed files
+5 -5
nixos
-5
nixos/lib/eval-config.nix
···
# These are the extra arguments passed to every module. In
# particular, Nixpkgs is passed through the "pkgs" argument.
-
# FIXME: we enable config.allowUnfree to make packages like
-
# nvidia-x11 available. This isn't a problem because if the user has
-
# ‘nixpkgs.config.allowUnfree = false’, then evaluation will fail on
-
# the 64-bit package anyway. However, it would be cleaner to respect
-
# nixpkgs.config here.
extraArgs = extraArgs_ // {
inherit modules baseModules;
};
+5
nixos/modules/misc/extra-arguments.nix
···
_module.args = {
pkgs_i686 = import ../../.. {
system = "i686-linux";
+
# FIXME: we enable config.allowUnfree to make packages like
+
# nvidia-x11 available. This isn't a problem because if the user has
+
# ‘nixpkgs.config.allowUnfree = false’, then evaluation will fail on
+
# the 64-bit package anyway. However, it would be cleaner to respect
+
# nixpkgs.config here.
config.allowUnfree = true;
};