about summary refs log tree commit diff stats
path: root/nix/modules/default.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-05-14 07:41:14 +0200
committerAlan Pearce2024-05-14 07:44:31 +0200
commit67e1a28ad3972a31bb995eaeec83434221ed5cf6 (patch)
tree8564906eb5ab10dcd21b090c538aa63d2a7940c1 /nix/modules/default.nix
parent6fed92fd9acc567e6a1ebd939402b9198da40b86 (diff)
downloadsearchix-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.nix1
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) {