summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/networkmanager.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-03-30 20:43:16 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-03-30 21:05:10 +0200
commita31f123c1cb68e107f54d1a54500de6ba8b9b0ef (patch)
tree1307644d1f95acb4cbbaa79ad39fb96852152d85 /nixos/modules/services/networking/networkmanager.nix
parenta2c379d4b6df39bb5a0355bb4bb68cc3f75f4cc7 (diff)
networkmanager: remove dhcp and pass dhcpcd instead
The ISC DHCP client has reached its end of life.
Diffstat (limited to 'nixos/modules/services/networking/networkmanager.nix')
-rw-r--r--nixos/modules/services/networking/networkmanager.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix
index 7a9d9e5428a7..f14eea50ada7 100644
--- a/nixos/modules/services/networking/networkmanager.nix
+++ b/nixos/modules/services/networking/networkmanager.nix
@@ -237,7 +237,7 @@ in {
};
dhcp = mkOption {
- type = types.enum [ "dhclient" "dhcpcd" "internal" ];
+ type = types.enum [ "dhcpcd" "internal" ];
default = "internal";
description = ''
Which program (or internal library) should be used for DHCP.
@@ -497,7 +497,6 @@ in {
"d /etc/ipsec.d 0700 root root -"
"d /var/lib/NetworkManager-fortisslvpn 0700 root root -"
- "d /var/lib/dhclient 0755 root root -"
"d /var/lib/misc 0755 root root -" # for dnsmasq.leases
];