services: remove unneeded conditional

This commit is contained in:
Antoine Martin 2021-03-23 22:24:12 +01:00
parent b04d9e51a1
commit 6174bcd165
4 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@ in {
'';
};
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
services.postgresqlBackup = {
databases = [ "bitwarden_rs" ];
};

View file

@ -79,7 +79,7 @@ in {
];
};
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
services.postgresqlBackup = {
databases = [ "gitea" ];
};

View file

@ -36,7 +36,7 @@ in {
package = pkgs.postgresql_12;
};
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
services.postgresqlBackup = {
databases = [ "matrix-synapse" ];
};

View file

@ -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" ];
};