install nextcloud

This commit is contained in:
Khaïs COLIN 2025-07-13 11:10:48 +02:00
parent 2846e1579a
commit 71bc235159
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU

View file

@ -281,6 +281,21 @@
''; '';
users.users.immich.extraGroups = ["video" "render"]; users.users.immich.extraGroups = ["video" "render"];
services.nextcloud = {
enable = true;
package = pkgs.nextcloud31;
hostName = "nextcloud.005540.xyz";
https = true;
secretFile = "/etc/nixos/secrets/nextcloud/secrets.json";
config.adminpassFile = "/etc/nixos/secrets/nextcloud/adminpass";
config.dbtype = "pgsql";
settings.default_locale = "fr";
settings.default_phone_region = "+33";
database.createLocally = true;
configureRedis = true;
maxUploadSize = "64G";
};
# dynamic dns # dynamic dns
services.ddclient = { services.ddclient = {
enable = true; enable = true;
@ -389,6 +404,10 @@
enableACME = true; enableACME = true;
addSSL = true; addSSL = true;
}; };
"nextcloud.005540.xyz" = {
enableACME = true;
forceSSL = true;
};
}; };
}; };
} }