nixos: services: postgresql-backup: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:58 +01:00
parent 2fe4dc1c80
commit d0da754a65

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