enable nextcloud in ks

This commit is contained in:
ant 2025-09-02 20:59:15 +02:00
parent 410bb91f3b
commit 890e1f2921

View file

@ -101,6 +101,10 @@ in {
}; };
in { in {
"qbittorrent.${domain}" = (reverseProxy config.services.qbittorrent.webuiPort); "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"; system.stateVersion = "23.11";
} }