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

11 lines
205 B
Nix
Raw Normal View History

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