patos/justfile

23 lines
373 B
Makefile

set shell := ["/usr/bin/env", "bash", "-euo", "pipefail", "-c"]
[private]
default:
@just --list
# Update nix flake
update:
nix flake update
# Build all targets
build: build-image
# Build PatOS image
build-image:
nix build .#patos_image
# Build PatOS update image
build-update:
nix build .#patos_update
run: build-image
qemu-efi -snapshot ./result/disk.qcow2