16 lines
304 B
Nix
16 lines
304 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
inherit (config.networking) ports;
|
|
in
|
|
{
|
|
services.unifi = {
|
|
enable = true;
|
|
unifiPackage = pkgs.unifi8;
|
|
mongodbPackage = pkgs.mongodb-7_0;
|
|
};
|
|
networking.firewall.interfaces.lechner.allowedTCPPorts = [
|
|
ports.unifi-inform.tcp
|
|
ports.unifi-ui.tcp
|
|
];
|
|
}
|