mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/searx: use lib.getExe
This commit is contained in:
parent
34d173ce85
commit
3330e3c9c3
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ in
|
|||
serviceConfig = {
|
||||
User = "searx";
|
||||
Group = "searx";
|
||||
ExecStart = "${cfg.package}/bin/searx-run";
|
||||
ExecStart = lib.getExe cfg.package;
|
||||
} // optionalAttrs (cfg.environmentFile != null)
|
||||
{ EnvironmentFile = builtins.toPath cfg.environmentFile; };
|
||||
environment = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue