finish converting outputRef to lambda

This commit is contained in:
Daniel Barlow
2024-08-30 20:46:48 +01:00
parent 0df2c83382
commit defbfce1fb
3 changed files with 5 additions and 6 deletions

View File

@@ -50,9 +50,8 @@ let
exec ${hostapd}/bin/hostapd -i $(output ${interface} ifname) -P /run/${name}/hostapd.pid -S /run/${name}/hostapd.conf
'';
};
watch = filter (f: typeOf f == "set") (attrValues attrs);
watch = filter (f: typeOf f == "lambda") (attrValues attrs);
in svc.secrets.subscriber.build {
inherit watch;
inherit service;
inherit service watch;
action = "restart-all";
}