Remove unifi-controller
This commit is contained in:
		
					parent
					
						
							
								9dc6f69911
							
						
					
				
			
			
				commit
				
					
						ac7b440963
					
				
			
		
					 4 changed files with 0 additions and 46 deletions
				
			
		| 
						 | 
				
			
			@ -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";
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +0,0 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./configuration.nix
 | 
			
		||||
    ./unifi.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -114,10 +114,6 @@ in
 | 
			
		|||
      site = "vs";
 | 
			
		||||
      environment = "proxmox";
 | 
			
		||||
    };
 | 
			
		||||
    unifi-controller = {
 | 
			
		||||
      site = "wg";
 | 
			
		||||
      environment = "proxmox";
 | 
			
		||||
    };
 | 
			
		||||
    valkyrie = {
 | 
			
		||||
      hostNixpkgs = nixpkgs-23-05;
 | 
			
		||||
      site = "af";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue