31 lines
405 B
Makefile

default:
@just --list
fmt:
treefmt --on-unmatched info
test *FLAGS:
git add .
just fmt
nh os test . {{FLAGS}}
switch *FLAGS:
git add .
just fmt
nh os switch . {{FLAGS}}
switch-now *FLAGS:
nh os switch . {{FLAGS}}
update:
nix-channel --update
nix flake update
just switch
lock:
git-crypt lock
unlock:
git-crypt unlock ~/.config/git/crypt-key