tidy up a bit
This commit is contained in:
parent
ad3f241af9
commit
53810e1f5f
1 changed files with 5 additions and 3 deletions
|
@ -64,9 +64,11 @@ in rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dhcpc = (udhcpc config.hardware.networkInterfaces.lan {
|
services.dhcpc =
|
||||||
|
let iface = config.hardware.networkInterfaces.lan;
|
||||||
|
in (udhcpc iface {
|
||||||
dependencies = [ config.services.hostname ];
|
dependencies = [ config.services.hostname ];
|
||||||
}) // { inherit (config.hardware.networkInterfaces.lan) device; };
|
}) // { inherit (iface) device; };
|
||||||
|
|
||||||
services.sshd = longrun {
|
services.sshd = longrun {
|
||||||
name = "sshd";
|
name = "sshd";
|
||||||
|
|
Loading…
Reference in a new issue