Merge pull request #176116 from pennae/unifi-remove-deprecated

nixos/unifi: change deprecated default for openFirewall
This commit is contained in:
pennae 2022-06-04 20:52:34 +00:00 committed by GitHub
commit 4a9708930d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ in
services.unifi.openFirewall = mkOption {
type = types.bool;
default = true;
default = false;
description = ''
Whether or not to open the minimum required ports on the firewall.
@ -85,10 +85,6 @@ in
config = mkIf cfg.enable {
warnings = optional
(options.services.unifi.openFirewall.highestPrio >= (mkOptionDefault null).priority)
"The current services.unifi.openFirewall = true default is deprecated and will change to false in 22.11. Set it explicitly to silence this warning.";
users.users.unifi = {
isSystemUser = true;
group = "unifi";