Move nix aliases to zsh config
This commit is contained in:
parent
63307a9866
commit
bb81acfb00
|
@ -38,12 +38,17 @@ alias rcp='rsync -vaP --delete'
|
||||||
alias rmirror='rsync -rtvu --delete'
|
alias rmirror='rsync -rtvu --delete'
|
||||||
alias gurl='curl --compressed'
|
alias gurl='curl --compressed'
|
||||||
|
|
||||||
alias sc=systemctl
|
|
||||||
alias ssc='sudo systemctl'
|
|
||||||
|
|
||||||
alias y='xclip -selection clipboard -in'
|
alias y='xclip -selection clipboard -in'
|
||||||
alias p='xclip -selection clipboard -out'
|
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
|
### Tools
|
||||||
autoload -U zmv
|
autoload -U zmv
|
||||||
|
|
|
@ -47,13 +47,6 @@
|
||||||
XDG_DATA_HOME = "$HOME/.local/share";
|
XDG_DATA_HOME = "$HOME/.local/share";
|
||||||
XDG_BIN_HOME = "$HOME/.local/bin";
|
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";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
Loading…
Reference in a new issue