chore(zsh): Experimental alias

This commit is contained in:
Ahmad Ansori Palembani 2024-11-06 10:36:06 +07:00
parent 01d4cf8273
commit 53d7f8246a
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -152,6 +152,7 @@ alias neofetch='fastfetch'
alias nix-switch='darwin-rebuild switch --flake $ZI_NIX_FLAKE'
alias nix-build='darwin-rebuild build --flake $ZI_NIX_FLAKE'
} || {
# alias nix-switch='sudo -H --preserve-env=PATH --preserve-env=SSH_CONNECTION env system-manager switch --flake $ZI_NIX_FLAKE'
alias nix-switch='system-manager switch --flake $ZI_NIX_FLAKE'
alias nix-build='system-manager build --flake $ZI_NIX_FLAKE'
}