mirror of
https://github.com/NuschtOS/nixos-modules.git
synced 2024-07-01 08:38:44 +02:00
postgres: deadnix
This commit is contained in:
parent
1b578f8875
commit
5a0560f0e3
|
@ -36,7 +36,7 @@ in
|
|||
environment.systemPackages = lib.optional cfgu.enable (
|
||||
let
|
||||
newData = "/var/lib/postgresql/${cfgu.newPackage.psqlSchema}";
|
||||
newBin = "${if cfg.extraPlugins == [] then cfgu.newPackage else cfgu.newPackage.withPackages (_: with cfgu.newPackage.pkgs; cfg.extraPlugins)}/bin";
|
||||
newBin = "${if cfg.extraPlugins == [] then cfgu.newPackage else cfgu.newPackage.withPackages (_: cfg.extraPlugins)}/bin";
|
||||
oldData = config.services.postgresql.dataDir;
|
||||
oldBin = "${config.services.postgresql.package}/bin";
|
||||
currPkg = cfg.package;
|
||||
|
|
Loading…
Reference in New Issue
Block a user