nixos/hosts/homelab/postgres.nix
2025-04-26 20:02:56 +02:00

8 lines
186 B
Nix

{config, ...}: {
services = {
restic.backups.homelab.paths = [config.services.postgresqlBackup.location];
postgresql.enable = true;
postgresqlBackup.enable = true;
};
}