From 069c5e979a2a06686def6f9ce5e2ede4d51ad3fe Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 9 Jul 2024 06:35:14 +0200 Subject: [PATCH] nixos/core: use nix-index --- nix-os/core.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix-os/core.nix b/nix-os/core.nix index cfb55e4..bb6ca15 100644 --- a/nix-os/core.nix +++ b/nix-os/core.nix @@ -79,6 +79,13 @@ in rerere.enabled = true; }; + # Use nix-index for command-not-found handler + programs.command-not-found.enable = false; + programs.nix-index = { + enable = true; + enableBashIntegration = true; + }; + # Enable fail2ban because of the OpenSSH server services.fail2ban = { enable = true;