From 555c4e55e3113c462f13c73e32341f99fdf1b586 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sat, 10 Aug 2024 12:27:23 -0500 Subject: [PATCH] makefile | add target to build vm isi --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/makefile b/makefile index 736ddfe..71cbb1a 100644 --- a/makefile +++ b/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