nixos/modules/homelab/postgres.nix

14 lines
240 B
Nix
Raw Normal View History

{
config,
lib,
...
}:
lib.mkIf config.fireproof.homelab.enable {
2025-04-23 00:02:00 +02:00
services = {
restic.backups.homelab.paths = [config.services.postgresqlBackup.location];
postgresql.enable = true;
postgresqlBackup.enable = true;
};
2025-04-26 20:02:56 +02:00
}