feat: helper functions; docs: more complex examples
This commit is contained in:
20 files changed
+1046
-19
No files matched your search
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user