makefile | clean up output on switch
This commit is contained in:
parent
08ef81f368
commit
88a48b895c
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -18,3 +18,4 @@
|
|||
*.swp
|
||||
result
|
||||
*.qcow2
|
||||
nixos-switch.log
|
||||
|
|
|
|||
2
makefile
2
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue