diff options
author | Alan Pearce | 2024-05-14 07:41:14 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-14 07:44:31 +0200 |
commit | 67e1a28ad3972a31bb995eaeec83434221ed5cf6 (patch) | |
tree | 8564906eb5ab10dcd21b090c538aa63d2a7940c1 /nix/modules/default.nix | |
parent | 6fed92fd9acc567e6a1ebd939402b9198da40b86 (diff) | |
download | searchix-67e1a28ad3972a31bb995eaeec83434221ed5cf6.tar.lz searchix-67e1a28ad3972a31bb995eaeec83434221ed5cf6.tar.zst searchix-67e1a28ad3972a31bb995eaeec83434221ed5cf6.zip |
fix(module): include nix in path
Diffstat (limited to 'nix/modules/default.nix')
-rw-r--r-- | nix/modules/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |