diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-22 15:39:21 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-22 15:39:21 +0100 |
commit | 2eadf585107e743a2ee3878b045e05f924c7046d (patch) | |
tree | f1f656f031f9b2328dccb26629a578dfa29169ab /hosts/vidhar | |
parent | e73238a218f434b6f331cbc8f607e65a76469061 (diff) | |
download | nixos-2eadf585107e743a2ee3878b045e05f924c7046d.tar nixos-2eadf585107e743a2ee3878b045e05f924c7046d.tar.gz nixos-2eadf585107e743a2ee3878b045e05f924c7046d.tar.bz2 nixos-2eadf585107e743a2ee3878b045e05f924c7046d.tar.xz nixos-2eadf585107e743a2ee3878b045e05f924c7046d.zip |
vidhar: dhcpcd: ...
Diffstat (limited to 'hosts/vidhar')
-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 = { |