diff --git a/users/glittershark/system/home/machines/chupacabra.nix b/users/glittershark/system/home/machines/chupacabra.nix index 105882ba5..39478c672 100644 --- a/users/glittershark/system/home/machines/chupacabra.nix +++ b/users/glittershark/system/home/machines/chupacabra.nix @@ -51,10 +51,10 @@ in { (writeShellScriptBin "rebuild-mugwump" '' set -eo pipefail cd ~/code/depot - nix build -f . users.glittershark.system.system.mugwumpSystem -o mugwump + nix build -f . users.glittershark.system.system.mugwumpSystem -o /tmp/mugwump nix copy -f . users.glittershark.system.system.mugwumpSystem \ --to ssh://mugwump - system=$(readlink -ef mugwump) + system=$(readlink -ef /tmp/mugwump) ssh mugwump sudo nix-env -p /nix/var/nix/profiles/system --set $system ssh mugwump sudo $system/bin/switch-to-configuration switch '')