Move nix aliases to zsh config

This commit is contained in:
Henrik Lissner 2019-12-03 20:34:43 -05:00
parent 63307a9866
commit bb81acfb00
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 10 deletions

View file

@ -38,12 +38,17 @@ alias rcp='rsync -vaP --delete'
alias rmirror='rsync -rtvu --delete'
alias gurl='curl --compressed'
alias sc=systemctl
alias ssc='sudo systemctl'
alias y='xclip -selection clipboard -in'
alias p='xclip -selection clipboard -out'
alias sc=systemctl
alias ssc='sudo systemctl'
alias nix-env='NIXPKGS_ALLOW_UNFREE=1 nix-env'
alias ne=nix-env
alias nc=nix-channel
alias ngc=nix-garbage-collect
alias nre=nixos-rebuild
### Tools
autoload -U zmv

View file

@ -47,13 +47,6 @@
XDG_DATA_HOME = "$HOME/.local/share";
XDG_BIN_HOME = "$HOME/.local/bin";
};
shellAliases = {
nix-env = "NIXPKGS_ALLOW_UNFREE=1 nix-env";
ne = "nix-env";
nu = "sudo nix-channel --update && sudo nixos-rebuild -I config=$HOME/.dotfiles/config switch";
nre = "sudo nixos-rebuild -I config=$HOME/.dotfiles/config";
ngc = "sudo nix-collect-garbage -d";
};
};
time.timeZone = "America/Toronto";