justfile | formating, and added oldschool to call nixos-rebuild directly
This commit is contained in:
parent
77c458ff10
commit
61bab0ffe7
1 changed files with 14 additions and 9 deletions
5
justfile
5
justfile
|
|
@ -95,6 +95,11 @@ ci:
|
|||
@git commit -m"chore | Update flake.lock" flake.lock &> nixos-switch.log || ( cat nixos-switch.log && false )
|
||||
@rm -f nixos-switch.log
|
||||
|
||||
# Go old school
|
||||
oldschool:
|
||||
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
||||
@rm -f nixos-switch.log
|
||||
@doas nixos-rebuild switch --flake .#{{HOSTNAME}}
|
||||
|
||||
# Reboot this host
|
||||
reboot:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue