services: remove unneeded conditional
This commit is contained in:
parent
b04d9e51a1
commit
6174bcd165
|
@ -36,7 +36,7 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
services.postgresqlBackup = {
|
||||
databases = [ "bitwarden_rs" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
services.postgresqlBackup = {
|
||||
databases = [ "gitea" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ in {
|
|||
package = pkgs.postgresql_12;
|
||||
};
|
||||
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
services.postgresqlBackup = {
|
||||
databases = [ "matrix-synapse" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
# services.postgresql is automatically enabled by services.miniflux, let's
|
||||
# back it up
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
services.postgresqlBackup = {
|
||||
databases = [ "miniflux" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue