feat: enable zoxide, nix-index-database, comma and a deadnix check

This commit is contained in:
oddlama 2023-09-18 02:10:44 +02:00
parent ecd7eece1f
commit 905ea34de9
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
10 changed files with 50 additions and 15 deletions

View file

@ -14,7 +14,6 @@ in {
[
".cache/fontconfig"
".cache/nix" # nix eval cache
".cache/nix-index"
".config/dconf" # some apps store their configuration using dconf
]
++ optionals nixosConfig.hardware.nvidia.modesetting.enable [

View file

@ -5,7 +5,18 @@
./zsh
];
programs.zoxide = {
enable = true;
options = ["--cmd p"];
};
# nix-index-database is enabled globally for each user in modules/config/home-manager.nix
programs.nix-index.enable = true;
programs.nix-index-database.comma.enable = true;
home.persistence."/state".directories = [
".local/share/zoxide"
];
home.shellAliases = {
l = "ls -lahF --group-directories-first --show-control-chars --quoting-style=escape --color=auto";