fix packages
This commit is contained in:
parent
9d3a72de1f
commit
c6235d2ac7
1 changed files with 10 additions and 3 deletions
13
flake.nix
13
flake.nix
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue