diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2025-01-29 17:47:43 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2025-01-29 17:57:39 +0100 |
| commit | acacbb12e440ba084ec6c8b8752e383464b5926b (patch) | |
| tree | 7462cefe9366dc02aafee49dc0658c29429f8648 /config/nix/remote-builds.nix | |
| parent | c3fada601adf6088537316e0d215051643922674 (diff) | |
nix: remote builds: factor out
Diffstat (limited to 'config/nix/remote-builds.nix')
| -rw-r--r-- | config/nix/remote-builds.nix | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/config/nix/remote-builds.nix b/config/nix/remote-builds.nix deleted file mode 100644 index d252af2..0000000 --- a/config/nix/remote-builds.nix +++ /dev/null @@ -1,29 +0,0 @@ -{...}: { - programs.ssh = { - extraConfig = '' - Host hephaistos.aristote.mesh - # Prevent using ssh-agent or another keyfile, useful for testing - IdentitiesOnly yes - IdentityFile /etc/ssh/nixremote - # The weakly privileged user on the remote builder – if not set, 'root' is used – which will hopefully fail - User nixremote - ''; - knownHosts."hephaistos.aristote.mesh".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHvtqi8tziBuviUV8LDK2ddQQUbHdJYB02dgWTK5Olxq"; - }; - - nix = { - distributedBuilds = true; - buildMachines = [ - { - hostName = "hephaistos.aristote.mesh"; - system = "x86_64-linux"; - # Nix custom ssh-variant that avoids lots of "trusted-users" settings pain - protocol = "ssh-ng"; - maxJobs = 4; - speedFactor = 4; - supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; - mandatoryFeatures = []; - } - ]; - }; -} |
