diff --git a/justfile b/justfile index de872b4..5d0135b 100644 --- a/justfile +++ b/justfile @@ -1,9 +1,17 @@ +alias b := build +alias r := rebuild +alias u := update +alias us := update-secret + default: just -l # Build the system and diff build: nixos-rebuild build --flake . && nvd diff /run/current-system ./result +[confirm('Rebuild the system?')] +rebuild: + sudo nixos-rebuild switch --flake . # Update all flake inputs update: nix flake update --commit-lock-file