liminix/pkgs/liminix-tools/networking/udhcpc.nix

11 lines
205 B
Nix
Raw Normal View History

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