NixOS and Home Manager config

refactor(nixpkgs): refactor nixpkgs config into its own module

nel.pet f2f8e5a6 b992d01c

verified
Changed files
+7 -3
modules
systems
nel-desktop
+1
modules/nixos/default.nix
···
imports = [
./lannas.nix
./nix.nix
];
}
···
imports = [
./lannas.nix
./nix.nix
+
./nixpkgs.nix
];
}
+6
modules/nixos/nixpkgs.nix
···
···
+
{
+
nixpkgs.config = {
+
allowAliases = false;
+
allowUnfree = true;
+
};
+
}
-3
systems/nel-desktop/configuration.nix
···
extraGroups = [ "networkmanager" "wheel" ];
};
-
# Allow unfree packages
-
nixpkgs.config.allowUnfree = true;
-
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
···
extraGroups = [ "networkmanager" "wheel" ];
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave