From 0033dfceb08bd362576919325d888b27821e7d3d Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 6 Apr 2024 12:13:01 -0400 Subject: [PATCH] chore: Disable command-not-found by default Unfortunately command-not-found only works for channels and doesn't have first-class support for flakes yet, and nix-index takes forever to build the database on slower machines, so I'd rather just disable this by default. --- modules/system.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/system.nix b/modules/system.nix index d830b94c..0b9327e8 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -218,6 +218,8 @@ in (pass.withExtensions (ext: with ext; [ pass-otp ])) ]; + programs.command-not-found.enable = false; + environment.defaultPackages = [ ]; }; }