Add nix-index

This commit is contained in:
David Morgan 2022-10-28 16:34:18 +01:00
parent 9fb0a97d34
commit 175f7c6c0b
Signed by: djm
GPG Key ID: C171251002C200F2
2 changed files with 4 additions and 0 deletions

View File

@ -50,5 +50,6 @@
];
programs.gpg.enable = true;
programs.nix-index.enable = true;
}

View File

@ -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