justfile | update iso build
This commit is contained in:
parent
a590212560
commit
83ff222676
1 changed files with 1 additions and 2 deletions
3
justfile
3
justfile
|
|
@ -45,8 +45,7 @@ buildiso hostname:
|
||||||
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
||||||
@rm -f nixos-switch.log result
|
@rm -f nixos-switch.log result
|
||||||
@echo Running iso build
|
@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 )
|
@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 )
|
||||||
@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 )
|
|
||||||
|
|
||||||
buildsd hostname:
|
buildsd hostname:
|
||||||
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue