Eating my own dogfood, and adding mkIf cfg.enable

release
Matthew Salerno 1 year ago
parent 4307607c64
commit 2c0d7e0048

@ -108,7 +108,7 @@ in
# --------------------------------------------------------------- #
# Due to merge weirdness, I have to define what configuration keys
# we're touching upfront, and make sure they exist
config = (safetyMerge ["networking" "sops" "age" "systemd" "services" "environment"]
config = mkIf cfg.enable (safetyMerge ["networking" "sops" "age" "systemd" "services" "environment"]
[
(configurer keyProviders (parser acl) cfg.peerName)
]

Loading…
Cancel
Save