feat: helper functions; docs: more complex examples

This commit is contained in:
fufsob committed 2026-09-25 11:00:55 +00:00
1 parent 63d9dffcae
commit 878983147c
20 files changed
+1046 -19

No files matched your search

@@ -35,6 +35,8 @@ in
# have it cleared on reboot.
runtimeDir = lib.mkDefault "${config.xdg.cacheHome}/proxy-suite/run";
};
# home-manager's place for helper functions, as on NixOS.
lib.proxy-suite = cfg.internal.helpers;
}
(lib.mkIf cfg.enable (
+3
View File
@@ -32,6 +32,9 @@ in
firewallPackage = config.networking.firewall.package;
resolvconfPackage = config.networking.resolvconf.package;
};
# NixOS's place for helper functions; set even while disabled, so a config can
# refer to it unconditionally.
lib.proxy-suite = cfg.internal.helpers;
}
(lib.mkIf cfg.enable (