nix-index: move out of home-manager -> nixos
This commit is contained in:
@@ -96,6 +96,10 @@ lib.mkIf config.sane.home-manager.enable
|
||||
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.
|
||||
# see: https://github.com/sorin-ionescu/prezto
|
||||
# i believe this file is auto-sourced by the prezto init.zsh script.
|
||||
|
@@ -51,9 +51,8 @@ in
|
||||
|
||||
programs = lib.mkMerge [
|
||||
{
|
||||
home-manager.enable = true; # this lets home-manager manage dot-files in user dirs, i think
|
||||
# "command not found" will cause the command to be searched in nixpkgs
|
||||
nix-index.enable = true;
|
||||
# XXX: unsure what this does?
|
||||
home-manager.enable = true;
|
||||
}
|
||||
cfg.programs
|
||||
];
|
||||
|
Reference in New Issue
Block a user