1
0
liminix/modules/dhcp6c/prefix.nix
Daniel Barlow d7d19b5ed0 dhcp6 client: fix service dir in address and prefix acquirers
the scripts now expect the actual service dir instead of the .outputs
subdir
2025-03-31 23:06:40 +01:00

19 lines
355 B
Nix

{
liminix,
callPackage,
}:
{ client, interface }:
let
inherit (liminix.services) longrun;
name = "dhcp6c.prefix.${client.name}.${interface.name}";
script = callPackage ./acquire-delegated-prefix.nix { };
in
longrun {
inherit name;
run = "${script} ${client} $(output ${interface} ifname)";
dependencies = [
client
interface
];
}