modules/nixos/hydra: copy /etc/nix/machines, use ssh
This commit is contained in:
parent
33cd718b0e
commit
a740ae4da0
1 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,13 @@
|
|||
|
||||
# remote builders set in /etc/nix/machines + localhost
|
||||
buildMachinesFiles = [
|
||||
"/etc/nix/machines"
|
||||
(pkgs.runCommand "etc-nix-machines"
|
||||
{
|
||||
machines = config.environment.etc."nix/machines".text;
|
||||
} ''
|
||||
printf "$machines" > $out
|
||||
substituteInPlace $out --replace 'ssh-ng://' 'ssh://'
|
||||
'')
|
||||
|
||||
(pkgs.writeText "local" ''
|
||||
localhost x86_64-linux,builtin - 8 1 nixos-test,big-parallel,kvm - -
|
||||
|
|
Loading…
Add table
Reference in a new issue