forked from mirrors_public/oddlama_nix-config
feat: enable zoxide, nix-index-database, comma and a deadnix check
This commit is contained in:
parent
ecd7eece1f
commit
905ea34de9
10 changed files with 50 additions and 15 deletions
|
@ -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 [
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -59,11 +59,6 @@
|
|||
# TODO gpg switch to sk
|
||||
# TODO some font icons not showing neovim because removed from nerdfonts, replace with bertter .
|
||||
|
||||
shellAliases = {
|
||||
p = "cd ~/projects";
|
||||
zf = "zathura --fork"; # XXX: do i need this or can i just xdg-open?
|
||||
};
|
||||
|
||||
persistence."/persist".directories = [
|
||||
"projects"
|
||||
];
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
in {
|
||||
accounts.email.accounts =
|
||||
lib.flip lib.mapAttrs' config.userSecrets.accounts.email
|
||||
(n: v:
|
||||
(_n: v:
|
||||
lib.nameValuePair v.address ({
|
||||
# TODO genericize
|
||||
passwordCommand =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue