about summary refs log tree commit diff stats
path: root/nix-conf/home
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf/home')
-rw-r--r--nix-conf/home/includes/common.nix1
-rw-r--r--nix-conf/home/includes/zsh.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index e1d9853..6d177da 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -50,5 +50,6 @@
   ];
 
   programs.gpg.enable = true;
+  programs.nix-index.enable = true;
 }
 
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 2f072a5..a101ca0 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -23,6 +23,7 @@
     keys = [ "id_rsa" "id_ed25519" "C171251002C200F2" ];
   #  extraFlags = [ "--quiet" "--ignore-missing" ];
   };
+  programs.command-not-found.enable = false;
   programs.zsh = {
     enable = true;
     enableCompletion = true;
@@ -69,6 +70,8 @@
     };
 
     initExtra = ''
+      source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
+
       # Taken from prezto tmux plugin
       if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" && -z "$INSIDE_EMACS" && -z "$SSH_TTY" ]]; then
         tmux start-server
to connection.h' href='/danisanti/profani-tty/commit/src/xmpp/connection.h?id=0b40de5a4f2c4f887e3ab086a87c641fc6538c4d'>0b40de5a ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39