nixos: services: postgresql-backup: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:58 +01:00
parent c0dc0b2a54
commit 2299ef237c

View file

@ -24,5 +24,9 @@ in
(config.services.postgresqlBackup.location + "/*.prev.sql.gz") (config.services.postgresqlBackup.location + "/*.prev.sql.gz")
]; ];
}; };
my.system.persist.directories = [
config.services.postgresqlBackup.location
];
}; };
} }