summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2021-12-17 19:23:00 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2021-12-17 19:23:00 +0100
commit0cb8669638ee09c792f741455ae2cbbb4374fad5 (patch)
treec7adcdd5b3fc37c23b716e0c8b60236befab59aa /nixos
parent8072ee22f2c8bbe7c2120ab9bd605de4560cf905 (diff)
downloadnixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.tar
nixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.tar.gz
nixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.tar.bz2
nixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.tar.lz
nixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.tar.xz
nixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.tar.zst
nixpkgs-0cb8669638ee09c792f741455ae2cbbb4374fad5.zip
dhcpcd: use dhcpcd as privsep user
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index 0c69caa64bb..61a8c13a70c 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -214,11 +214,11 @@ in
           };
       };
 
-    users.users._dhcpcd = {
+    users.users.dhcpcd = {
       isSystemUser = true;
-      group = "_dhcpcd";
+      group = "dhcpcd";
     };
-    users.groups._dhcpcd = {};
+    users.groups.dhcpcd = {};
 
     environment.systemPackages = [ dhcpcd ];