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"; }