ma owncloud: 20 -> 21, back up postgres
This commit is contained in:
parent
40be037284
commit
93bb408b53
@ -36,10 +36,20 @@ in {
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = 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 = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud20;
|
package = pkgs.nextcloud21;
|
||||||
hostName = "o.euer.krebsco.de";
|
hostName = "o.euer.krebsco.de";
|
||||||
# Use HTTPS for links
|
# Use HTTPS for links
|
||||||
https = true;
|
https = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user