set default for firewall extraRules

This commit is contained in:
Daniel Barlow 2024-05-03 16:28:53 +01:00
parent ac54c89427
commit 782feaeafa

View file

@ -59,6 +59,7 @@ in
extraRules = mkOption { extraRules = mkOption {
type = types.attrsOf types.attrs; type = types.attrsOf types.attrs;
description = "firewall ruleset"; description = "firewall ruleset";
default = {};
}; };
rules = mkOption { rules = mkOption {
type = types.attrsOf types.attrs; # we could usefully tighten this a bit :-) type = types.attrsOf types.attrs; # we could usefully tighten this a bit :-)