almost nuked whole sys
This commit is contained in:
parent
43368d1e3a
commit
ab917700ee
4 changed files with 24 additions and 27 deletions
|
|
@ -897,3 +897,23 @@ $env.config = {
|
|||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
alias cat = bat
|
||||
alias rebuild = sudo nixos-rebuild switch --flake /etc/nixos/
|
||||
alias windows = sudo bootctl set-oneshot auto-windows
|
||||
def toWindows [] {
|
||||
sudo bootctl set-oneshot auto-windows
|
||||
reboot
|
||||
}
|
||||
def toBIOS [] {
|
||||
sudo bootctl set-onshot auto-reboot-to-firmware-setup
|
||||
reboot
|
||||
}
|
||||
|
||||
def fullClean [] {
|
||||
nix-collect-garbage --delete-old
|
||||
sudo nix-collect-garbage -d
|
||||
sudo /run/current-system/bin/switch-to-configuration boot
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue