services: work on initial nextcloud

This commit is contained in:
Kabbone 2022-12-31 19:02:57 +01:00
parent 37b97e4010
commit b1f8129a1e
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -3,18 +3,25 @@
{
services.nextcloud = {
enable = true;
hostName = "cloud.kabtop.de";
hostName = "cloud2.kabtop.de";
https = true;
package = pkgs.nextcloud25;
config = {
dbtype = "pgsql";
dbuser = "nextcloud";
dbhost = "localhost";
dbname = "nextclouddb";
dbport =
adminuser = "kabbone";
adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path;
dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path;
overwriteProtocol = "https";
defaultPhoneRegion = "DE";
};
#phpExtraExtensions = ;
#extraApps = with pkgs.nextcloud25Packages.apps; {
# inherit mail news contacts;
#};
#autoUpdateApps.enable = true;
};
age.secrets."services/nextcloud/dbpassFile" = {