feat: open ports

This commit is contained in:
s-prechtl 2025-06-21 23:15:03 +02:00
parent 2d4a4dfe4c
commit a7c9143907

View file

@ -5,6 +5,7 @@
}: { }: {
# This is only a temporary password and will be changed # This is only a temporary password and will be changed
environment.etc."nextcloud-admin-pass".text = "samcsamc11"; environment.etc."nextcloud-admin-pass".text = "samcsamc11";
networking.firewall.allowedTCPPorts = [80 443];
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
hostName = "sprechtl.ddns.net"; hostName = "sprechtl.ddns.net";
@ -28,6 +29,7 @@
}; };
services.nginx = { services.nginx = {
enable = true;
virtualHosts.${config.services.nextcloud.hostName} = { virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;