nix-index: move out of home-manager -> nixos

This commit is contained in:
2023-01-28 09:44:32 +00:00
parent adecfbaea4
commit 67299ebfd7
2 changed files with 6 additions and 3 deletions

View File

@@ -96,6 +96,10 @@ lib.mkIf config.sane.home-manager.enable
vteIntegration = true; vteIntegration = true;
}; };
# enable a command-not-found hook to show nix packages that might provide the binary typed.
programs.nix-index.enable = true;
programs.command-not-found.enable = false; #< mutually exclusive with nix-index
# prezto = oh-my-zsh fork; controls prompt, auto-completion, etc. # prezto = oh-my-zsh fork; controls prompt, auto-completion, etc.
# see: https://github.com/sorin-ionescu/prezto # see: https://github.com/sorin-ionescu/prezto
# i believe this file is auto-sourced by the prezto init.zsh script. # i believe this file is auto-sourced by the prezto init.zsh script.

View File

@@ -51,9 +51,8 @@ in
programs = lib.mkMerge [ programs = lib.mkMerge [
{ {
home-manager.enable = true; # this lets home-manager manage dot-files in user dirs, i think # XXX: unsure what this does?
# "command not found" will cause the command to be searched in nixpkgs home-manager.enable = true;
nix-index.enable = true;
} }
cfg.programs cfg.programs
]; ];