liminix/pkgs/liminix-tools/networking/udhcpc.nix
2022-09-22 11:10:41 +01:00

10 lines
205 B
Nix

{
liminix
, busybox
} :
let inherit (liminix.services) longrun;
in
interface: { ... } @ args: longrun {
name = "${interface.device}.udhcp";
run = "${busybox}/bin/udhcpc -f -i ${interface.device}";
}