Replace shell aliases with justfile recipes for managing nix commands

This commit is contained in:
SebastianStork 2024-07-15 17:28:58 +02:00
parent 8d8c006e99
commit ad7ae417b9
4 changed files with 30 additions and 13 deletions

24
justfile Normal file
View file

@ -0,0 +1,24 @@
set quiet := true
rebuild := "sudo -v && nh os"
default:
just --list --unsorted
switch:
{{ rebuild }} switch
test:
{{ rebuild }} test
boot:
{{ rebuild }} boot
reboot: boot
reboot
update:
nix flake update
fmt:
nix fmt