alias nib='nix-build --no-out-link' alias nip='nix-build --no-out-link "" -A' function with() { PKG="$1" shift nix-shell -p "$PKG" --run "$@" } alias nic=nix-channel alias nis=nix-shell alias nie=nix-env alias nir="nix repl ''" alias nio=nixops alias nied='nix edit -f ""' alias nidf='EDITOR=echo nied' alias nor=nixos-rebuild alias noc=nixos-container alias nob="nib --no-out-link '' -A system --keep-going" alias snor='sudo nixos-rebuild' alias snors='sudo nixos-rebuild switch' alias snorb='sudo nixos-rebuild boot'