mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 16:58:34 -05:00
23 lines
570 B
Nix
23 lines
570 B
Nix
{...}: {
|
|
home.shellAliases = {
|
|
# Git
|
|
gc = "git commit";
|
|
gcm = "git commit -m";
|
|
gac = "git add . and git commit";
|
|
gacp = "gac and git push";
|
|
gs = "git status";
|
|
|
|
# nix
|
|
flake = "nix flake";
|
|
|
|
# home-manager
|
|
hm-upgrade = "nix flake update --flake ~/.local/share/chezmoi/dot_config/flake#";
|
|
hm-update = "home-manager switch --flake ~/.config/flake";
|
|
|
|
# chezmoi
|
|
dot_apply = "chezmoi apply";
|
|
dot_pull = "chezmoi update";
|
|
|
|
dot_update = "flake update --flake $CHEZMOI_SOURCE_DIR/dot_config/flake && dot_apply";
|
|
};
|
|
}
|