put liminix-tools in package overlay
This commit is contained in:
10
pkgs/liminix-tools/networking/udhcpc.nix
Normal file
10
pkgs/liminix-tools/networking/udhcpc.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
liminix
|
||||
, busybox
|
||||
} :
|
||||
let inherit (liminix.services) longrun;
|
||||
in
|
||||
interface: { ... } @ args: longrun {
|
||||
name = "${interface.device}.udhcp";
|
||||
run = "${busybox}/bin/udhcpc -f -i ${interface.device}";
|
||||
}
|
Reference in New Issue
Block a user