diff --git a/makefile b/makefile index c25dfba..bb07cf9 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ switch: prep @alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false) @rm nixos-switch.log @echo Running nixos-rebuild switch - @doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep --color error nixos-switch.log && false) + @doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false) weekly: pull clean update switch ci push clean