infrastructure/nixos/hosts/hades/unifi/configuration.nix
Victor 628bf11cdb
All checks were successful
Lint / lint (push) Successful in 1s
Plex Update / update (push) Successful in 9s
fix pkgs
2023-06-13 10:16:24 +02:00

20 lines
503 B
Nix

{ pkgs, lib, pkgs_stable,... }: {
system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true;
environment.systemPackages = [ pkgs_stable.mongodb-4_2 ];
services.unifi = {
enable = true;
unifiPackage = pkgs.unifi;
mongodbPackage = pkgs_stable.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 ];
}