make switch_remote.sh usabl
This commit is contained in:
parent
6eaf81e5a6
commit
c21d2b97a7
1 changed files with 5 additions and 1 deletions
|
@ -4,9 +4,13 @@ set -euo pipefail
|
|||
|
||||
ACTION=$1
|
||||
HOST=$2
|
||||
CONFIG=$3
|
||||
|
||||
set -x
|
||||
exec nixos-rebuild $ACTION \
|
||||
--use-substitutes \
|
||||
--no-build-nix \
|
||||
--use-remote-sudo \
|
||||
--flake ".#$HOST" \
|
||||
--build-host $HOST \
|
||||
--target-host $HOST \
|
||||
--flake ".#${CONFIG}.noc.eh22.intern"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue