diff options
Diffstat (limited to '')
-rw-r--r-- | modules/services/unifi/default.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/services/unifi/default.nix b/modules/services/unifi/default.nix index f3335ab..6ac45bc 100644 --- a/modules/services/unifi/default.nix +++ b/modules/services/unifi/default.nix @@ -43,15 +43,15 @@ in services.nginx.virtualHosts."${cfg.vhostName}" = { forceSSL = true; - useACMEHost = cfg.vhostName; + useACMEHost = config.homelab.domain; listen = [ { - addr = "100.85.232.66"; + addr = "192.168.6.40"; port = 443; ssl = true; } { - addr = "100.85.232.66"; + addr = "192.168.6.40"; port = 80; ssl = false; } @@ -62,11 +62,6 @@ in }; }; - security.acme.certs."${cfg.vhostName}" = { - dnsProvider = "gcloud"; - credentialsFile = secrets."acme/credentials".path; - }; - my.services.backup = { paths = [ "/var/lib/unifi/data/backup" ]; }; }; } |