justfile | fix oldschool to talke hostname + add new targe fixme to scan for said tag

This commit is contained in:
Don Harper 2025-10-02 13:36:41 -05:00
parent 41cc921115
commit 17e2f2a10b

View file

@ -116,9 +116,9 @@ ci:
@rm -f nixos-switch.log
# Go old school
oldschool:
oldschool hostname=(HOSTNAME):
@rm -f nixos-switch.log
@doas nixos-rebuild switch --impure --flake .#{{HOSTNAME}}
@doas nixos-rebuild switch --impure --flake .#{{hostname}}
# Reboot on hostname
reboot hostname=(HOSTNAME):
@ -127,3 +127,7 @@ reboot hostname=(HOSTNAME):
# Format the code
format:
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
# Find areas which need to be fixed.
fixme:
@find . -name '*nix' -exec grep -HE 'TODO|FIXME' {} \;