From a4502806bf966d427af33094eb6950a145241009 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Fri, 6 Dec 2024 12:28:30 +0100 Subject: muhammed: Add ahmed as remote x86_64-linux builder --- hosts/muhammed/remote-builders/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hosts/muhammed/remote-builders/default.nix (limited to 'hosts/muhammed/remote-builders/default.nix') diff --git a/hosts/muhammed/remote-builders/default.nix b/hosts/muhammed/remote-builders/default.nix new file mode 100644 index 0000000..50bda96 --- /dev/null +++ b/hosts/muhammed/remote-builders/default.nix @@ -0,0 +1,18 @@ +# Manages remote Nix builders. These are useful for building faster and for +# other architectures. +{...}: { + imports = [ + ./local-linux-builder.nix + ./ahmed-builder.nix + ]; + + # Enable using remote builders. + nix.distributedBuilds = true; + + # Optional, useful when the builder has a faster internet connection than + # yours. This may be the case since this host is a laptop and one of the + # remote builders isn't. + nix.extraOptions = '' + builders-use-substitutes = true + ''; +} -- cgit v1.2.3