justfile | formating, and added oldschool to call nixos-rebuild directly

This commit is contained in:
Don Harper 2025-01-02 23:02:07 -06:00
parent 77c458ff10
commit 61bab0ffe7

View file

@ -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: