diff --git a/justfile b/justfile index e7c552e..53fabac 100644 --- a/justfile +++ b/justfile @@ -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' {} \;