deploy: use nom for watching output
This commit is contained in:
parent
efb6432952
commit
87296ce379
@ -27,7 +27,7 @@ rebuild() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
nixos-rebuild ${TRACE} --flake .#${1} --build-host root@${host} --target-host root@${host} switch
|
||||
nixos-rebuild ${TRACE} --flake .#${1} --build-host root@${host} --target-host root@${host} switch |& nom
|
||||
return $?
|
||||
}
|
||||
|
||||
@ -120,7 +120,7 @@ if [ "$1" = "install" ]; then
|
||||
fi
|
||||
|
||||
if [ "$1" = "local" ]; then
|
||||
sudo nixos-rebuild ${TRACE} --flake .#$(uname -n) switch
|
||||
sudo nixos-rebuild ${TRACE} --flake .#$(uname -n) switch |& nom
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user