···5152 services.unifi.openFirewall = mkOption {
53 type = types.bool;
54- default = true;
55 description = ''
56 Whether or not to open the minimum required ports on the firewall.
57···84 };
8586 config = mkIf cfg.enable {
87-88- warnings = optional
89- (options.services.unifi.openFirewall.highestPrio >= (mkOptionDefault null).priority)
90- "The current services.unifi.openFirewall = true default is deprecated and will change to false in 22.11. Set it explicitly to silence this warning.";
9192 users.users.unifi = {
93 isSystemUser = true;
···5152 services.unifi.openFirewall = mkOption {
53 type = types.bool;
54+ default = false;
55 description = ''
56 Whether or not to open the minimum required ports on the firewall.
57···84 };
8586 config = mkIf cfg.enable {
00008788 users.users.unifi = {
89 isSystemUser = true;
···12 # Manually sha256sum the extensionPack file, must be hex!
13 # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
14 # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
15- let value = "a5ee3e693a0470a77735556a77a09aa83bfc48181998b9b21b1af82ef1d11c2a";
16 in assert (builtins.stringLength value) == 64; value;
1718 meta = {
···12 # Manually sha256sum the extensionPack file, must be hex!
13 # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
14 # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
15+ let value = "d7856f0688b6d2ed1e8bff0b367efa952068b03fa5a3a29b46db08cfd5d9a810";
16 in assert (builtins.stringLength value) == 64; value;
1718 meta = {
···2223# Requirements
24[tool.poetry.dependencies]
25-python = "~2.7 || ^3.5"
2627poetry-core = "~1.0.7"
28cleo = "^0.8.1"
···74pre-commit = { version = "^2.6", python = "^3.6.1" }
75tox = "^3.0"
76pytest-sugar = "^0.9.2"
77-httpretty = "^0.9.6"
78# We need to restrict the version of urllib3 to avoid
79# httpretty breaking. This is fixed in httpretty >= 1.0.3
80# but it's not compatible with Python 2.7 and 3.5.
81-urllib3 = "~1.25.10"
8283[tool.poetry.scripts]
84poetry = "poetry.console:main"
···2223# Requirements
24[tool.poetry.dependencies]
25+python = "^3.5"
2627poetry-core = "~1.0.7"
28cleo = "^0.8.1"
···74pre-commit = { version = "^2.6", python = "^3.6.1" }
75tox = "^3.0"
76pytest-sugar = "^0.9.2"
77+httpretty = "^1.0.3"
78# We need to restrict the version of urllib3 to avoid
79# httpretty breaking. This is fixed in httpretty >= 1.0.3
80# but it's not compatible with Python 2.7 and 3.5.
81+urllib3 = "~1.26.9"
8283[tool.poetry.scripts]
84poetry = "poetry.console:main"