From 234bda1241b0dbc20116df9de42dcfcf6df902b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 11 Aug 2023 17:34:43 +0200 Subject: [PATCH] web01: switch to clan-update command --- targets/web01/deploy.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/targets/web01/deploy.sh b/targets/web01/deploy.sh index 4181cfc..2066ccf 100755 --- a/targets/web01/deploy.sh +++ b/targets/web01/deploy.sh @@ -3,12 +3,4 @@ set -euo pipefail -path=$(nix flake metadata --json '.#' | jq -r .path) -ip=clan.lol -rsync --checksum -vaF --delete -e ssh "${path}/" "root@${ip}:/etc/nixos" - -ssh "root@$ip" nixos-rebuild switch \ - --fast \ - --option keep-going true \ - --option accept-flake-config true \ - --flake '/etc/nixos#web01' +clan update clan.lol