From 890e1f2921fc73cd9e181bcc09ecd972dc277040 Mon Sep 17 00:00:00 2001 From: ant Date: Tue, 2 Sep 2025 20:59:15 +0200 Subject: [PATCH] enable nextcloud in ks --- os/ks/configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/os/ks/configuration.nix b/os/ks/configuration.nix index 2b12aa5..00cf8c2 100644 --- a/os/ks/configuration.nix +++ b/os/ks/configuration.nix @@ -101,6 +101,10 @@ in { }; in { "qbittorrent.${domain}" = (reverseProxy config.services.qbittorrent.webuiPort); + "nextcloud.${domain}" = { + enableACME = true; + forceSSL = true; + }; }; }; @@ -169,6 +173,20 @@ in { }; }; + services.nextcloud = { + enable = true; + package = pkgs.nextcloud30; + hostName = "nextcloud.antoinevaure.fr"; + https = true; + config = { + adminpassFile = "/nextcloud_root_pass"; + dbtype = "sqlite"; + }; + settings = { "filesystem_check_changes" = "1"; }; + phpExtraExtensions = all: [ all.pdlib ]; + configureRedis = true; # caching + }; + system.stateVersion = "23.11"; }