diff options
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r-- | hosts/vidhar/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 44e86067..2d117c3d 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -182,12 +182,18 @@ | |||
182 | ''; | 182 | ''; |
183 | in { | 183 | in { |
184 | Type = "forking"; | 184 | Type = "forking"; |
185 | PIDFile = "/run/dhcpcd.pid"; | 185 | PIDFile = "/run/dhcpcd/pid"; |
186 | RuntimeDirectory = "dhcpcd"; | ||
186 | ExecStart = "@${pkgs.dhcpcd}/sbin/dhcpcd dhcpcd -q --config ${dhcpcdConf}"; | 187 | ExecStart = "@${pkgs.dhcpcd}/sbin/dhcpcd dhcpcd -q --config ${dhcpcdConf}"; |
187 | ExecReload = "${pkgs.dhcpcd}/sbin/dhcpcd --rebind"; | 188 | ExecReload = "${pkgs.dhcpcd}/sbin/dhcpcd --rebind"; |
188 | Restart = "always"; | 189 | Restart = "always"; |
189 | }; | 190 | }; |
190 | }; | 191 | }; |
192 | users.users.dhcpcd = { | ||
193 | isSystemUser = true; | ||
194 | group = "dhcpcd"; | ||
195 | }; | ||
196 | users.groups.dhcpcd = {}; | ||
191 | 197 | ||
192 | services.timesyncd.enable = false; | 198 | services.timesyncd.enable = false; |
193 | services.chrony = { | 199 | services.chrony = { |