about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-01-31 16:43:54 +0100
committerGitHub <noreply@github.com>2024-01-31 16:43:54 +0100
commit9118823ed368161ed172e54a365e6148523758a2 (patch)
tree0a6112aa6d31fcbc0567f6e37e0229397e7f07ec /nixos
parent071b4833b4326de76e598e70fb3c5187d8234cf8 (diff)
parent1af95a24c11402f46f8ab055a3fb14458f65bd70 (diff)
downloadnixlib-9118823ed368161ed172e54a365e6148523758a2.tar
nixlib-9118823ed368161ed172e54a365e6148523758a2.tar.gz
nixlib-9118823ed368161ed172e54a365e6148523758a2.tar.bz2
nixlib-9118823ed368161ed172e54a365e6148523758a2.tar.lz
nixlib-9118823ed368161ed172e54a365e6148523758a2.tar.xz
nixlib-9118823ed368161ed172e54a365e6148523758a2.tar.zst
nixlib-9118823ed368161ed172e54a365e6148523758a2.zip
Merge pull request #226532 from SuperSandro2000/dhcpcd
dhcpcd: change files after patching; nixos/dhcpcd: link dhcpcd.conf to /etc/ to fix dhcpcd -k
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index 2b59352ac616..266a7ea1435e 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -219,6 +219,8 @@ in
       '';
     } ];
 
+    environment.etc."dhcpcd.conf".source = dhcpcdConf;
+
     systemd.services.dhcpcd = let
       cfgN = config.networking;
       hasDefaultGatewaySet = (cfgN.defaultGateway != null && cfgN.defaultGateway.address != "")