diff options
-rw-r--r-- | common.nix | 19 | ||||
-rw-r--r-- | linux.nix | 5 | ||||
-rw-r--r-- | machines/helium.nix | 15 |
3 files changed, 34 insertions, 5 deletions
@@ -45,6 +45,25 @@ in path = "${homedir}/cfg/home-manager"; }; + ssh = { + enable = true; + forwardAgent = true; + matchBlocks = { + hidor-kahih = { + hostname = "home.simatime.com"; + user = "ben"; + identityFile = [ "${homedir}/.ssh/hidor-kahih" ]; + identitiesOnly = true; + }; + nutin-madaj = { + hostname = "simatime.com"; + user = "ben"; + identityFile = [ "${homedir}/.ssh/id_rsa" ]; + identitiesOnly = true; + }; + }; + }; + direnv = { enable = true; }; @@ -221,11 +221,6 @@ in }; programs = { - ssh = { - enable = true; - forwardAgent = true; - }; - firefox = { enable = true; }; diff --git a/machines/helium.nix b/machines/helium.nix index 2f5c166..17eef23 100644 --- a/machines/helium.nix +++ b/machines/helium.nix @@ -118,7 +118,22 @@ extraOptions = '' gc-keep-outputs = true gc-keep-derivations = true + builders-use-substitutes = true ''; + + buildMachines = [ + { + hostName = "home.simatime.com"; + sshUser = "root"; + sshKey = "/home/ben/.ssh/hidor-kahih"; + system = "x86_64-linux"; + maxJobs = 4; + speedFactor = 4; + #supportedFeatures = [ ]; + #mandatoryFeatures = [ ]; + } + ]; + distributedBuilds = true; }; # This value determines the NixOS release with which your system is to be |