all repos — searchix @ 67e1a28ad3972a31bb995eaeec83434221ed5cf6

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix(module): include nix in path
Alan Pearce alan@alanpearce.eu
Tue, 14 May 2024 07:41:14 +0200
commit

67e1a28ad3972a31bb995eaeec83434221ed5cf6

parent

6fed92fd9acc567e6a1ebd939402b9198da40b86

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M nix/modules/default.nixnix/modules/default.nix
@@ -166,6 +166,7 @@ config = mkIf cfg.enable {     systemd.services.searchix = {
       description = "Searchix Nix option search";
       wantedBy = [ "multi-user.target" ];
+      path = with pkgs; [ nix ];
       serviceConfig = defaultServiceConfig // {
         ExecStart = "${package}/bin/searchix --config ${(settingsFormat.generate "searchix-config.toml" cfg.settings)}";
       } // lib.optionalAttrs (cfg.settings.web.port < 1024) {