Merge pull request #21 from jasonrm/machines-file

eval.nix: Adds meta.machinesFile option that is passed to Nix as builder option
This commit is contained in:
Zhaofeng Li 2021-05-07 16:25:36 -07:00 committed by GitHub
commit 99ba8db335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 69 additions and 6 deletions

View file

@ -54,6 +54,15 @@ Here is a sample `hive.nix` with two nodes, with some common configurations appl
nodeNixpkgs = {
node-b = ./another-nixos-checkout;
};
# If your Colmena host has nix configured to allow for remote builds
# (for nix-daemon, your user being included in trusted-users)
# you can set a machines file that will be passed to the underlying
# nix-store command during derivation realization as a builders option.
# For example, if you support multiple orginizations each with their own
# build machine(s) you can ensure that builds only take place on your
# local machine and/or the machines specified in this file.
# machinesFile = ./machines.client-a;
};
defaults = { pkgs, ... }: {