From f2257abc5d5e74ad964bd6fa4fed35c934a8807d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 2 Feb 2025 00:56:11 +0300 Subject: [PATCH] feat(ops/nevsky): run livegrep instance Change-Id: Icc17ff919aaf23964b6f35160aaeb437e69ee7bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/13087 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/machines/nevsky/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ops/machines/nevsky/default.nix b/ops/machines/nevsky/default.nix index 68948dbbd..90aab0969 100644 --- a/ops/machines/nevsky/default.nix +++ b/ops/machines/nevsky/default.nix @@ -7,21 +7,23 @@ in { imports = [ (mod "builderball.nix") - (mod "clbot.nix") (mod "cgit.nix") - (mod "josh.nix") + (mod "clbot.nix") (mod "harmonia.nix") (mod "irccat.nix") + (mod "josh.nix") (mod "known-hosts.nix") + (mod "livegrep.nix") (mod "monorepo-gerrit.nix") (mod "owothia.nix") - (mod "smtprelay.nix") (mod "restic.nix") + (mod "smtprelay.nix") (mod "tvl-buildkite.nix") (mod "tvl-users.nix") (mod "www/cache.tvl.fyi.nix") (mod "www/cl.tvl.fyi.nix") (mod "www/code.tvl.fyi.nix") + (mod "www/grep.tvl.fyi.nix") (mod "www/self-cache.tvl.fyi.nix") (mod "www/self-redirect.nix") (depot.third_party.agenix.src + "/modules/age.nix") @@ -303,6 +305,9 @@ in builderball.enable = true; + # Run a livegrep code search instance + livegrep.enable = true; + # Automatically collect garbage from the Nix store. automatic-gc = { enable = true;