12 lines
201 B
Nix
12 lines
201 B
Nix
{pkgs, ...}:
|
|
|
|
{
|
|
networking.firewall.allowedTCPPorts = [8443]; # open unifi web interface port
|
|
|
|
services.unifi = {
|
|
enable = true;
|
|
unifiPackage = pkgs.unifi7;
|
|
openFirewall = true;
|
|
};
|
|
}
|