Integrate nix-index

This is a try, not sure if I need it, it probably will increase consumed
time by update procedure.
This commit is contained in:
Daniel Siepmann 2022-05-22 19:13:53 +02:00
parent b249b49e2d
commit 9e801efd12
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,13 @@
# Let Home Manager install and manage itself.
home-manager.enable = true;
# Add hook to zsh and bash.
# Does not work as there is no sqlite file.
# command-not-found.enable = true;
# Use nix-index as replacement.
# This needs to build index, which I do in custom-update-system
nix-index.enable = true;
neovim = import ./programs/neovim.nix {
inherit pkgs;
};

View file

@ -9,6 +9,7 @@ self: super:
home-manager switch
home-manager expire-generations '-30 days'
nix-env --delete-generations +5
nix-index
nix store gc
nix store optimise
'';