nixos: services: postgresql-backup: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:58 +01:00
parent 4fd82e1c53
commit e7c3db73db

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