justfile | fix oldschool to talke hostname + add new targe fixme to scan for said tag
This commit is contained in:
parent
41cc921115
commit
17e2f2a10b
1 changed files with 6 additions and 2 deletions
8
justfile
8
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' {} \;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue