fix packages

This commit is contained in:
Jeffrey C. Ollie 2023-08-13 11:18:09 -05:00
parent 9d3a72de1f
commit c6235d2ac7
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -497,10 +497,17 @@
environment.systemPackages = [
postgresql
pgbackrest
rclone
self.packages.${pkgs.system}.scram-sha-256
];
] ++ (
if cfg.backup.enable && (!cfg.replication.enable || cfg.replication.role == "primary")
then
[
pgbackrest
rclone
]
else
[ ]
);
# networking.firewall.allowedTCPPorts = [ cfg.port ];