.github
.vscode
docs
hydra
keys
lib
modules
systems
users
alice
richie
global
home
cli
default.nix
direnv.nix
git.nix
zsh.nix
gui
programs.nix
sshconfig.nix
default.nix
home.nix
secrets.yaml
default.nix
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
sops-mergetool.sh
statix.toml
treefmt.toml
34 lines
719 B
Nix
34 lines
719 B
Nix
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
history.size = 10000;
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"git"
|
|
"docker"
|
|
"docker-compose"
|
|
"colored-man-pages"
|
|
"rust"
|
|
"systemd"
|
|
"tmux"
|
|
"ufw"
|
|
"z"
|
|
];
|
|
};
|
|
shellAliases = {
|
|
"sgc" = "sudo git -C /root/dotfiles";
|
|
|
|
## Utilities
|
|
"lrt" = "eza --icons -lsnew";
|
|
"ls" = "eza";
|
|
"ll" = "eza --long --group";
|
|
"la" = "eza --all";
|
|
|
|
"rspace" = "'for f in *\ *; do mv \"$f\" \"\${f// /_}\"; done'";
|
|
"rebuild" = "sudo nixos-rebuild switch --flake /home/richie/projects/nix-dotfiles#$HOST";
|
|
};
|
|
};
|
|
}
|