From aace92c82310ac5f75171633d9b4d6e81db740b9 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 30 May 2025 04:33:27 +0200 Subject: add nextcloud --- hosts/vps/configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'hosts/vps/configuration.nix') diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index e80beff..e3cf372 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -49,6 +49,19 @@ sslCertificateKey = "/etc/ssl/private/schererleander.de.key"; forceSSL = true; }; + virtualHosts."cloud.schererleander.de" = { + sslCertificate = "/etc/ssl/certs/schererleander.de.crt"; + sslCertificateKey = "/etc/ssl/private/schererleander.de.key"; + forceSSL = true; + }; + }; + + services.nextcloud = { + enable = true; + hostName = "cloud.schererleander.de"; + database.createLocally = true; + configureRedis = true; + maxUploadSize = "16G"; }; networking.firewall.allowedTCPPorts = [ 80 443 8693 ]; -- cgit v1.3.1