2025-04-06 22:57:46 +01:00
|
|
|
alias b := build
|
|
|
|
alias s := switch
|
|
|
|
alias t := test
|
|
|
|
alias u := update
|
|
|
|
|
|
|
|
_default:
|
|
|
|
just --list
|
|
|
|
|
|
|
|
build *args:
|
|
|
|
@just _nixos build {{ args }}
|
|
|
|
|
|
|
|
check:
|
|
|
|
nix flake check
|
|
|
|
|
|
|
|
clean:
|
2025-07-28 23:52:12 +01:00
|
|
|
nh clean all
|
2025-04-06 22:57:46 +01:00
|
|
|
|
|
|
|
collect-garbage:
|
|
|
|
nix-collect-garbage -d
|
|
|
|
sudo nix-collect-garbage -d
|
|
|
|
|
|
|
|
format:
|
|
|
|
nix fmt flake.nix hosts modules
|
|
|
|
|
|
|
|
switch *args:
|
|
|
|
@just _nixos switch {{ args }}
|
|
|
|
|
|
|
|
test *args:
|
|
|
|
@just _nixos test {{ args }}
|
|
|
|
|
|
|
|
update:
|
2025-08-17 23:16:24 +01:00
|
|
|
nix flake update --commit-lock-file
|
2025-04-06 22:57:46 +01:00
|
|
|
|
|
|
|
_nixos command *args:
|
2025-07-28 23:52:12 +01:00
|
|
|
nh os {{ command }} . {{ args }}
|