testing nushell
This commit is contained in:
parent
183ff23447
commit
96057e337b
5 changed files with 108 additions and 58 deletions
|
|
@ -38,8 +38,40 @@
|
|||
|
||||
# Tower commands
|
||||
weboot = "nix shell nixpkgs#efibootmgr -c sudo efibootmgr -n 0000 && reboot";
|
||||
|
||||
# Misc commands
|
||||
nix-shell = "nix shell";
|
||||
};
|
||||
}; # end fish
|
||||
nushell = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
tsla-fan = "ipmitool -H 10.30.0.3 -U ADMIN -P ADMIN raw 0x30 0x70 0x66 0x01 0x0";
|
||||
|
||||
# NixOS commands
|
||||
nixoss = "sudo nixos-rebuild switch --flake .#${hostName}";
|
||||
nixos-main = "git checkout main && git pull && sudo nixos-rebuild switch --flake #${hostName}";
|
||||
nixossr = "sudo nixos-rebuild switch --flake .#${hostName} && reboot";
|
||||
nixost = "sudo nixos-rebuild build-vm --flake .#${hostName}";
|
||||
|
||||
# Development commands
|
||||
devt = "devenv test";
|
||||
|
||||
devtas = "devenv tasks list";
|
||||
devtar = "devenv tasks run";
|
||||
devs = "devenv shell";
|
||||
devu = "devenv up -d";
|
||||
devi = "nix flake init -t templates#";
|
||||
|
||||
pypod = "podman run --rm -it --network host -v '.:/run' -w '/run' python /run/";
|
||||
|
||||
# Tower commands
|
||||
weboot = "nix shell nixpkgs#efibootmgr -c sudo efibootmgr -n 0000 && reboot";
|
||||
|
||||
# Misc commands
|
||||
nix-shell = "nix shell";
|
||||
};
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "alisceon";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue