about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-01-19 15:53:31 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-01-19 15:53:31 +0100
commitf5384fd1aa048bb7b0cdf7f5439c42262b1c3dd9 (patch)
tree3efc7cb374507829ddc1fc9f4cbd40cf008f852e
parentb6cae323e1c5f0098c1b711c9ec86a8028da559d (diff)
programs/taalo-build: Directly connect to taalo
As I'm moving away the deployment from mmrnmhrm, it's not a very good
idea to rely on the deployment machine being up, which also makes it two
machines that need to be up in order to build from tishtushi.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r--modules/user/aszlig/programs/taalo-build/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/aszlig/programs/taalo-build/default.nix b/modules/user/aszlig/programs/taalo-build/default.nix
index 61fa159d..6b50df1d 100644
--- a/modules/user/aszlig/programs/taalo-build/default.nix
+++ b/modules/user/aszlig/programs/taalo-build/default.nix
@@ -24,9 +24,9 @@ with lib;
       chomp $to_realize;
 
       my ($from, $to);
-      my $cmd = "nixops ssh -d headcounter taalo -- -C "
-              . "nix-store --serve --write";
-      my $pid = open2($from, $to, "exec ssh -x -a -C mmrnmhrm '$cmd'");
+      my $dest = 'nix-remote-build@taalo.headcounter.org';
+      my $cmd = "exec ssh $dest -C -- nix-store --serve --write";
+      my $pid = open2($from, $to, $cmd);
 
       # Do the handshake.
       my $magic;