diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-10-28 16:34:18 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-10-28 16:34:18 +0100 |
commit | 175f7c6c0ba4af1bd35da282bc819ddc1e9eb4ff (patch) | |
tree | 61ea8187227c320a5943a83e69883795f37d56fc /nix-conf/home | |
parent | 9fb0a97d345d818811e3618d8e6c51739dae18c9 (diff) | |
download | dotfiles-175f7c6c0ba4af1bd35da282bc819ddc1e9eb4ff.tar.gz |
Add nix-index
Diffstat (limited to 'nix-conf/home')
-rw-r--r-- | nix-conf/home/includes/common.nix | 1 | ||||
-rw-r--r-- | nix-conf/home/includes/zsh.nix | 3 |
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 |