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 {
|
||||
dependencies = [ config.services.hostname ];
|
||||
}) // { inherit (config.hardware.networkInterfaces.lan) device; };
|
||||
services.dhcpc =
|
||||
let iface = config.hardware.networkInterfaces.lan;
|
||||
in (udhcpc iface {
|
||||
dependencies = [ config.services.hostname ];
|
||||
}) // { inherit (iface) device; };
|
||||
|
||||
services.sshd = longrun {
|
||||
name = "sshd";
|
||||
|
|
Loading…
Reference in a new issue