feat(justfile): add rollback recipe
This commit is contained in:
parent
4808caab5a
commit
ed5c65428c
1 changed files with 4 additions and 0 deletions
4
justfile
4
justfile
|
@ -8,6 +8,10 @@ switch *args:
|
|||
@sudo -v
|
||||
sudo nixos-rebuild switch --flake . --keep-going {{args}}
|
||||
|
||||
rollback:
|
||||
@sudo -v
|
||||
sudo nixos-rebuild switch --rollback
|
||||
|
||||
boot *args:
|
||||
@sudo -v
|
||||
sudo nixos-rebuild boot --flake . --keep-going {{args}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue