justfile | update iso build

This commit is contained in:
Don Harper 2025-06-01 20:41:42 -05:00
parent a590212560
commit 83ff222676

View file

@ -45,8 +45,7 @@ buildiso hostname:
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
@rm -f nixos-switch.log result
@echo Running iso build
# @doas nix build --impure ./#nixosConfigurations.vm.config.system.build.isoImage &> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false )
@doas nix run nixpkgs#nixos-generators -- -f iso --flake .#{{hostname}} --system x86_64-linux -o ./{{hostname}}.sd &> nixos-switch.log || ( cat nixos-switch.log && false )
@NIXPKGS_ALLOW_UNFREE=1 nix run --impure nixpkgs#nixos-generators -- -f iso --flake .#{{hostname}} --system x86_64-linux -o ./{{hostname}}.sd &> nixos-switch.log || ( cat nixos-switch.log && false )
buildsd hostname:
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )