Skip to content

Commit

Permalink
nixos/searx: use lib.getExe
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored and SuperSandro2000 committed Apr 12, 2024
1 parent 4ade559 commit 1c98511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/searx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,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 = {
Expand Down

0 comments on commit 1c98511

Please sign in to comment.