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