summary refs log tree commit diff
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-12-29 14:59:26 -0800
committerJonathan Ringer <jonringer117@gmail.com>2021-12-29 14:59:26 -0800
commit0685074cea31dba471417db9d6cc8853e0b7b273 (patch)
tree06b87fb8351fccfb3410e63cf6fd9912c594b142 /nixos/modules/services/databases
parent12f1b91685be3f259051bcc9bf7f5480e6007621 (diff)
downloadnixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.tar
nixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.tar.gz
nixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.tar.bz2
nixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.tar.lz
nixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.tar.xz
nixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.tar.zst
nixpkgs-0685074cea31dba471417db9d6cc8853e0b7b273.zip
nixos/pgmanage: use package option
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/pgmanage.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/pgmanage.nix b/nixos/modules/services/databases/pgmanage.nix
index f30f71866af..35708202e88 100644
--- a/nixos/modules/services/databases/pgmanage.nix
+++ b/nixos/modules/services/databases/pgmanage.nix
@@ -187,7 +187,7 @@ in {
       serviceConfig = {
         User         = pgmanage;
         Group        = pgmanage;
-        ExecStart    = "${pkgs.pgmanage}/sbin/pgmanage -c ${confFile}" +
+        ExecStart    = "${cfg.package}/sbin/pgmanage -c ${confFile}" +
                        optionalString cfg.localOnly " --local-only=true";
       };
     };