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" ];
|
databases = [ "bitwarden_rs" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
services.postgresqlBackup = {
|
||||||
databases = [ "gitea" ];
|
databases = [ "gitea" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ in {
|
||||||
package = pkgs.postgresql_12;
|
package = pkgs.postgresql_12;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
services.postgresqlBackup = {
|
||||||
databases = [ "matrix-synapse" ];
|
databases = [ "matrix-synapse" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# services.postgresql is automatically enabled by services.miniflux, let's
|
# services.postgresql is automatically enabled by services.miniflux, let's
|
||||||
# back it up
|
# back it up
|
||||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
services.postgresqlBackup = {
|
||||||
databases = [ "miniflux" ];
|
databases = [ "miniflux" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue