tidy up a bit

This commit is contained in:
Daniel Barlow 2023-03-10 23:39:32 +00:00
parent ad3f241af9
commit 53810e1f5f

View file

@ -64,9 +64,11 @@ in rec {
}; };
}; };
services.dhcpc = (udhcpc config.hardware.networkInterfaces.lan { services.dhcpc =
dependencies = [ config.services.hostname ]; let iface = config.hardware.networkInterfaces.lan;
}) // { inherit (config.hardware.networkInterfaces.lan) device; }; in (udhcpc iface {
dependencies = [ config.services.hostname ];
}) // { inherit (iface) device; };
services.sshd = longrun { services.sshd = longrun {
name = "sshd"; name = "sshd";