core: add nix aliases

This commit is contained in:
Timothy DeHerrera 2019-12-15 21:29:54 -07:00
parent 4488d0d754
commit 78f6065bf2
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -61,6 +61,10 @@ in
# internet ip # internet ip
myip = "dig +short myip.opendns.com @208.67.222.222 2>&1"; myip = "dig +short myip.opendns.com @208.67.222.222 2>&1";
# nix
ni = "nix profile install";
nrb = ifSudo "sudo nixos-rebuild";
# sudo # sudo
si = ifSudo "env sudo -i"; si = ifSudo "env sudo -i";
sudo = ifSudo "sudo -E "; sudo = ifSudo "sudo -E ";