about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-28 16:34:18 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-28 16:34:18 +0100
commit175f7c6c0ba4af1bd35da282bc819ddc1e9eb4ff (patch)
tree61ea8187227c320a5943a83e69883795f37d56fc /nix-conf
parent9fb0a97d345d818811e3618d8e6c51739dae18c9 (diff)
downloaddotfiles-175f7c6c0ba4af1bd35da282bc819ddc1e9eb4ff.tar.gz
Add nix-index
Diffstat (limited to 'nix-conf')
-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
er hut <hut@lavabit.com> 2009-12-31 03:40:08 +0100 added documentation, clean up' href='/akspecs/ranger/commit/TODO?h=v1.4.0&id=a6791aeef4c62960563882796d993873febe7b9c'>a6791aee ^
23236d0c ^
08f21ae5 ^
4b826595 ^

ab65b353 ^

4be8b401 ^



d955e3f0 ^
75013dc7 ^
67bb838c ^
4b826595 ^
ab65b353 ^


6f43de0a ^




fca1fc4f ^
ab65b353 ^

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
40
41
42
43
44
45