Remove unifi-controller

This commit is contained in:
yuri 2024-05-26 14:23:25 +02:00
parent 9dc6f69911
commit ac7b440963
No known key found for this signature in database
4 changed files with 0 additions and 46 deletions

View file

@ -1,23 +0,0 @@
{ ... }:
{
boot.loader.grub = {
enable = true;
device = "/dev/vda";
};
networking = {
hostName = "unifi-controller";
firewall = {
allowedTCPPorts = [ 53 8080 8443 8880 8843 6789 27117 ];
allowedUDPPorts = [ 53 3478 5514 10001 1900 123 ];
allowedUDPPortRanges = [
{
from = 5656;
to = 5699;
}
];
};
};
system.stateVersion = "23.11";
}

View file

@ -1,7 +0,0 @@
{ ... }:
{
imports = [
./configuration.nix
./unifi.nix
];
}

View file

@ -1,12 +0,0 @@
{ pkgs, lib, ... }:
{
services.unifi = {
enable = true;
unifiPackage = pkgs.unifi;
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"unifi-controller"
"mongodb"
];
}

View file

@ -114,10 +114,6 @@ in
site = "vs";
environment = "proxmox";
};
unifi-controller = {
site = "wg";
environment = "proxmox";
};
valkyrie = {
hostNixpkgs = nixpkgs-23-05;
site = "af";