forked from mirrors_public/oddlama_nix-config
refactor: split "real" modules and "config" modules
This commit is contained in:
parent
045f15239a
commit
cceae6c63c
60 changed files with 126 additions and 113 deletions
|
@ -1,42 +0,0 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./starship.nix
|
||||
./nushell
|
||||
./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.enableZshIntegration = false;
|
||||
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";
|
||||
t = "tree -F --dirsfirst -L 2";
|
||||
tt = "tree -F --dirsfirst -L 3 --filelimit 16";
|
||||
cpr = "rsync -axHAWXS --numeric-ids --info=progress2";
|
||||
|
||||
md = "mkdir";
|
||||
rmd = "rm --one-file-system -d";
|
||||
cp = "cp -vi";
|
||||
mv = "mv -vi";
|
||||
rm = "rm --one-file-system -I";
|
||||
chmod = "chmod -c --preserve-root";
|
||||
chown = "chown -c --preserve-root";
|
||||
|
||||
nb = "nix build --no-link --print-out-paths";
|
||||
|
||||
ip = "ip --color";
|
||||
tmux = "tmux -2";
|
||||
rg = "rg -S";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue