summaryrefslogtreecommitdiff
path: root/modules/nixos/remote-build.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2026-04-21 12:51:47 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2026-04-21 12:51:47 -0600
commit176c98d8f8cb77b884ba53a57a71d2f971d0d083 (patch)
tree0e83c0ee3457cf3350e8ccdc7f7648706a4afdb4 /modules/nixos/remote-build.nix
parentc869646365f34f7bd5c341b91dd77902a92a21de (diff)
parentd74d24d9a09402118fabb6a287f3d437d019346b (diff)
Merge branch 'master' of ssh://bosco:/srv/git/.flake
Diffstat (limited to 'modules/nixos/remote-build.nix')
-rw-r--r--modules/nixos/remote-build.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/nixos/remote-build.nix b/modules/nixos/remote-build.nix
new file mode 100644
index 0000000..79da57e
--- /dev/null
+++ b/modules/nixos/remote-build.nix
@@ -0,0 +1,20 @@
+{ config, ... } : {
+ nix.distributedBuilds = true;
+ # nix.settings.builders-use-subsituters = true;
+ nix.buildMachines = [
+ {
+ hostName = "doretta";
+ systems = [ "x86_64-linux" "aarch64-linux"];
+ supportedFeatures = [
+ "nixos-test"
+ "benchmark"
+ "big-parallel"
+ "llvm"
+ ];
+ maxJobs = 2; # could be higher but slow internet
+ speedFactor = 1;
+ sshKey = "/root/.ssh/nixremote";
+ sshUser = "nixremote";
+ }
+ ];
+}