From 67e1a28ad3972a31bb995eaeec83434221ed5cf6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 May 2024 07:41:14 +0200 Subject: fix(module): include nix in path --- nix/modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/modules/default.nix b/nix/modules/default.nix index e082a29..2480ce9 100644 --- a/nix/modules/default.nix +++ b/nix/modules/default.nix @@ -166,6 +166,7 @@ in 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) { -- cgit 1.4.1