summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2025-07-27 21:19:01 +0200
committernikstur <nikstur@outlook.com>2025-08-10 22:48:26 +0200
commitf087e5c94b5d4c1f9f739032a309dcc1af1e646a (patch)
tree27d0b81cce07b05b1406502237310e054db3fac7
parentnixos/kernel: don't include append-initrd-secrets when unused (diff)
downloadnixpkgs-f087e5c94b5d4c1f9f739032a309dcc1af1e646a.tar.gz
nixos/network-interfaces: add packages to corePackages
This allows users to override (i.e. exclude) these packages from their system closure if they don't need them.
-rw-r--r--nixos/modules/tasks/network-interfaces.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index 6f4ef6492026..09b6cec4e7ea 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -1767,7 +1767,7 @@ in
text = cfg.hostName + "\n";
};
- environment.systemPackages = [
+ environment.corePackages = [
pkgs.host
pkgs.hostname-debian
pkgs.iproute2