mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 19:24:20 +00:00
nixos/pgmanage: use package option
This commit is contained in:
parent
12f1b91685
commit
0685074cea
@ -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";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user