From a7c914390732fe39576695da259a3b90b83951d6 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Sat, 21 Jun 2025 23:15:03 +0200 Subject: [PATCH] feat: open ports --- hosts/hitsugibune/nextcloud.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/hitsugibune/nextcloud.nix b/hosts/hitsugibune/nextcloud.nix index 3c598e0..c24fafd 100644 --- a/hosts/hitsugibune/nextcloud.nix +++ b/hosts/hitsugibune/nextcloud.nix @@ -5,6 +5,7 @@ }: { # This is only a temporary password and will be changed environment.etc."nextcloud-admin-pass".text = "samcsamc11"; + networking.firewall.allowedTCPPorts = [80 443]; services.nextcloud = { enable = true; hostName = "sprechtl.ddns.net"; @@ -28,6 +29,7 @@ }; services.nginx = { + enable = true; virtualHosts.${config.services.nextcloud.hostName} = { forceSSL = true; enableACME = true;