infrastructure/nixos/hosts/hades/unifi/configuration.nix
Vivian c874312890
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
minor fixes
2023-05-01 08:47:21 +02:00

20 lines
423 B
Nix

{ pkgs, lib, ... }:
{
system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true;
services.unifi = {
enable = true;
unifiPackage = pkgs.unifi;
mongodbPackage = pkgs.mongodb-4_2;
openFirewall = true;
};
# Required for Java
# gets forced to true due the lxc profile
environment.noXlibs = lib.mkForce false;
# Unifi Web Port
networking.firewall.allowedTCPPorts = [ 8443 ];
}