fix packages
This commit is contained in:
parent
9d3a72de1f
commit
c6235d2ac7
1 changed files with 10 additions and 3 deletions
11
flake.nix
11
flake.nix
|
@ -497,10 +497,17 @@
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
postgresql
|
postgresql
|
||||||
|
self.packages.${pkgs.system}.scram-sha-256
|
||||||
|
] ++ (
|
||||||
|
if cfg.backup.enable && (!cfg.replication.enable || cfg.replication.role == "primary")
|
||||||
|
then
|
||||||
|
[
|
||||||
pgbackrest
|
pgbackrest
|
||||||
rclone
|
rclone
|
||||||
self.packages.${pkgs.system}.scram-sha-256
|
]
|
||||||
];
|
else
|
||||||
|
[ ]
|
||||||
|
);
|
||||||
|
|
||||||
# networking.firewall.allowedTCPPorts = [ cfg.port ];
|
# networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue