makefile | add target to build vm isi
This commit is contained in:
parent
21a524dc68
commit
555c4e55e3
1 changed files with 7 additions and 0 deletions
7
makefile
7
makefile
|
|
@ -10,6 +10,13 @@ switch: prep
|
|||
@echo Running nixos-rebuild switch
|
||||
@doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false)
|
||||
|
||||
vm:
|
||||
@alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false)
|
||||
@rm nixos-switch.log
|
||||
@echo Running iso build
|
||||
@nix build --impure ./#nixosConfigurations.vm.config.system.build.isoImage
|
||||
&> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false)
|
||||
|
||||
weekly: pull clean update switch ci push clean
|
||||
|
||||
cweekly: clean pull switch clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue