From 8bc98bd1032e11ee52d9e020e6a00a8249a739df Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Sun, 22 Jun 2025 18:13:03 +0200 Subject: [PATCH] feat: move to server --- hosts/hitsugibune/nextcloud.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hosts/hitsugibune/nextcloud.nix b/hosts/hitsugibune/nextcloud.nix index 4e1bdca..3e917b1 100644 --- a/hosts/hitsugibune/nextcloud.nix +++ b/hosts/hitsugibune/nextcloud.nix @@ -8,14 +8,14 @@ networking.firewall.allowedTCPPorts = [80 443]; services.nextcloud = { enable = true; - hostName = "10.0.0.69"; - https = false; + hostName = "sprechtl.ddns.net"; + https = true; configureRedis = true; caching.redis = true; autoUpdateApps.enable = true; package = pkgs.nextcloud31; settings = let - prot = "http"; # or https + prot = "https"; # or https host = config.services.nextcloud.hostName; dir = "/nextcloud"; in { @@ -49,9 +49,7 @@ port = 8080; # NOT an exposed port } ]; - }; - virtualHosts."localhost" = { locations = { "/nextcloud" = { priority = 9999;