programs: make nixosBuiltins
package set more precise
This commit is contained in:
@@ -16,17 +16,22 @@ in
|
|||||||
nixosBuiltins = {
|
nixosBuiltins = {
|
||||||
enableFor.system = lib.mkDefault true;
|
enableFor.system = lib.mkDefault true;
|
||||||
packageUnwrapped = null;
|
packageUnwrapped = null;
|
||||||
suggestedPrograms = [
|
suggestedPrograms = [ "nixosBuiltinsNet" ]
|
||||||
# from nixos/modules/tasks/network-interfaces.nix
|
++ lib.optionals config.networking.wireless.enable [ "nixosBuiltinsWireless" ];
|
||||||
"host"
|
|
||||||
"iproute2"
|
|
||||||
"iputils"
|
|
||||||
"nettools"
|
|
||||||
# if config.networking.wireless.enable (TODO: don't ship these on desko/servo!)
|
|
||||||
"wirelesstools"
|
|
||||||
"iw"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
nixosBuiltinsNet = declPackageSet [
|
||||||
|
# from nixos/modules/tasks/network-interfaces.nix
|
||||||
|
"host"
|
||||||
|
"iproute2"
|
||||||
|
"iputils"
|
||||||
|
"nettools"
|
||||||
|
];
|
||||||
|
nixosBuiltinsWireless = declPackageSet [
|
||||||
|
# from nixos/modules/tasks/network-interfaces.nix
|
||||||
|
# if config.networking.wireless.enable
|
||||||
|
"wirelesstools"
|
||||||
|
"iw"
|
||||||
|
];
|
||||||
|
|
||||||
"sane-scripts.backup" = declPackageSet [
|
"sane-scripts.backup" = declPackageSet [
|
||||||
"sane-scripts.backup-ls"
|
"sane-scripts.backup-ls"
|
||||||
|
Reference in New Issue
Block a user