Merge pull request #2 from TheWanderingCrow/test

Unifi working
This commit is contained in:
Crow 2025-09-08 15:18:53 -04:00 committed by GitHub
commit 830c380a5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,27 +73,11 @@
};
};
services.firewall.enable = false;
services.unifi = {
enable = true;
openFirewall = true;
unifiPackage = pkgs.unifi;
unifiPackage = pkgs.unstable.unifi;
mongodbPackage = pkgs.mongodb-7_0;
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"dragneel.local" = {
locations."/" = {
extraConfig = ''
allow 192.168.0.0/16;
allow ${inputs.nix-secrets.network.primary.publicIP};
deny all;
'';
proxyPass = "http://localhost:8080";
};
};
};
};
}