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