diff options
author | Linnnus <[email protected]> | 2024-12-06 12:28:30 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-12-06 12:28:36 +0100 |
commit | a4502806bf966d427af33094eb6950a145241009 (patch) | |
tree | 1725cf10cd36c473dbc7ca5ec051074e3632d64c /hosts/muhammed/remote-builders/default.nix | |
parent | 31ee8cdae15e12ed65add3211fd8a2d8cfa12442 (diff) |
muhammed: Add ahmed as remote x86_64-linux builder
Diffstat (limited to 'hosts/muhammed/remote-builders/default.nix')
-rw-r--r-- | hosts/muhammed/remote-builders/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
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 + ''; +} |