fix(module): include nix in path
Alan Pearce alan@alanpearce.eu
Tue, 14 May 2024 07:41:14 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M nix/modules/default.nix → nix/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) {