nixos-config/justfile

33 lines
440 B
Makefile

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
check:
nix flake check
dev shell='default':
nix develop .#{{ shell }} --command zsh
build-iso:
nix build .#nixosConfigurations.installer.config.formats.iso -o result