svc.open accepts a /nix/store folder not an outputs folder

this mostly makes things simpler
This commit is contained in:
Daniel Barlow
2025-03-11 00:21:44 +00:00
parent f22237a3b3
commit 2b0972ed73
20 changed files with 38 additions and 19 deletions

View File

@@ -49,7 +49,7 @@ let
(mapAttrs' (n: _: mkSet "ip6" n) zones);
allRules = lib.recursiveUpdate extraRules (lib.recursiveUpdate sets rules);
script = firewallgen "firewall1.nft" allRules;
watchArg = z: intfs: map (i: "${z}:${i}/.outputs") intfs;
watchArg = z: intfs: map (i: "${z}:${i}") intfs;
name = "firewall";
service = longrun {
inherit name;