From 3800f2300f66e5523b33c329162f402c89c33ae9 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Wed, 8 Jan 2025 23:50:55 +0100 Subject: [PATCH] enable remote build logs --- remote-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote-deploy.sh b/remote-deploy.sh index 8948233..7868a9a 100755 --- a/remote-deploy.sh +++ b/remote-deploy.sh @@ -4,7 +4,7 @@ set -e HOSTNAME=$1 -GC_FORCE_UNMAP_ON_GCOLLECT=1 nix build ".#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel" +GC_FORCE_UNMAP_ON_GCOLLECT=1 nix build -L ".#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel" #nix copy --no-check-sigs --to "ssh-ng://root@${HOSTNAME}" "./result" #ssh "root@${HOSTNAME}" nix-env -p /nix/var/nix/profiles/system --set "$(readlink ./result)" #ssh "root@${HOSTNAME}" /nix/var/nix/profiles/system/bin/switch-to-configuration switch