From 88a48b895c103121e7a09efe3bd46649d9536160 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sun, 30 Jun 2024 09:46:49 -0500 Subject: [PATCH] makefile | clean up output on switch --- .gitignore | 1 + makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 65fc6b5..48896be 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ *.swp result *.qcow2 +nixos-switch.log diff --git a/makefile b/makefile index 038e563..04d767c 100644 --- a/makefile +++ b/makefile @@ -5,7 +5,7 @@ UNAME_M := $(shell uname -m) all: switch switch: prep - doas nixos-rebuild switch --flake .#${HOSTNAME} + doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep --color error nixos-switch.log && false) weekly: pull clean update switch ci push clean