ma owncloud: 20 -> 21, back up postgres

This commit is contained in:
makefu 2021-04-04 10:23:40 +02:00
parent eae8f9d27f
commit b83c61d70e

View file

@ -36,10 +36,20 @@ in {
forceSSL = true;
enableACME = true;
};
state = [ "${config.services.nextcloud.home}/config" ];
services.postgresqlBackup = {
enable = true;
databases = [ config.services.nextcloud.config.dbname ];
};
state = [
# services.postgresql.dataDir
# "${config.services.nextcloud.home}/config"
config.services.postgresqlBackup.location
];
services.nextcloud = {
enable = true;
package = pkgs.nextcloud20;
package = pkgs.nextcloud21;
hostName = "o.euer.krebsco.de";
# Use HTTPS for links
https = true;