feat: remove HM/NixOS aliases. Use flake
This commit is contained in:
parent
462b4b75b8
commit
931ebf2c95
1 changed files with 0 additions and 5 deletions
|
@ -110,18 +110,13 @@ elif [ "$OS_DETECTION" = "bsd" ]; then
|
|||
elif (( $+commands[nixos-rebuild] )); then
|
||||
## Package Manager - nix
|
||||
alias psearch='nix search nixpkgs'
|
||||
alias pu='sudo nix-channel --update && sudo nixos-rebuild boot --upgrade'
|
||||
alias psw='sudo nix-channel --update && sudo nixos-rebuild switch --upgrade'
|
||||
alias pclean='nix-collect-garbage --delete-older-than 7d'
|
||||
fi
|
||||
|
||||
if (( $+commands[home-manager] )); then
|
||||
## Package Manager - nix
|
||||
alias npsearch='nix search nixpkgs'
|
||||
alias hmu='nix-channel --update && home-manager switch'
|
||||
alias hms='home-manager switch'
|
||||
alias hmc='home-manager expire-generations -7days'
|
||||
alias hme='home-manager edit'
|
||||
alias hm='home-manager '
|
||||
alias hsearch='nix search nixpkgs'
|
||||
alias nso='nix-store --optimise'
|
||||
|
|
Loading…
Add table
Reference in a new issue