Logan Barnett
208cd70d04
Merge remote-tracking branch 'stv0g/linux-runner-options' into linux-builder-big-config-take-2
2024-02-21 09:27:02 -08:00
Logan Barnett
61c5879b5a
linux-builder: default pass through protocol to nix.buildMachines
...
This commit adds a protocol option for the `linux-builder` and defaults
it to `ssh-ng`. I have observed it needing this with the following:
``` sh
$ nix store ping --store ssh://linux-builder
Store URL: ssh://linux-builder
$ nix store ping --store ssh-ng://linux-builder
Store URL: ssh-ng://linux-builder
Version: 2.18.1
Trusted: 0
```
This seems to make the difference on whether or not Nix picks up
`linux-builder` as an available builder.
2024-02-20 13:10:24 -08:00
Steffen Vogel
94558e7e8b
linux-builder: Pass through more options to nix.buildMachines
...
This commit passes more options to nix.buildMachines. Namely the mandatoryFeatures and speedFactor settings have been missing.
2024-02-18 13:25:01 +01:00
Jacek Galowicz
c4ea346d0f
Dedupe the WorkingDirectory path of the linux-builder
2024-01-15 13:51:34 +01:00
Domen Kožar
eb2b9b6423
Merge pull request #785 from Enzime/deferred-modules
...
linux-builder: change from `modules` to `config`
2023-11-08 09:58:53 +00:00
Michael Hoang
afe83cbc2e
Merge pull request #791 from lilyball/linux-builder-tmpdir
...
linux-builder: avoid /tmp for certs
2023-10-27 19:55:34 +02:00
Alexis Destrez
e621b5aea7
Provide 'supportedFeatures' option to the linux builder module
2023-10-18 17:47:27 +02:00
Lily Ballard
160eb3d99d
linux-builder: avoid /tmp for certs
...
Fixes #768
2023-10-09 16:09:11 -07:00
Michael Hoang
70af808347
linux-builder: change from modules
to config
...
Using the type `deferredModule` fixes `pkgs` not being accessible as a
module argument (apart from `config._module.args.pkgs`).
2023-09-29 12:38:39 +01:00
Lily Ballard
97e978626e
linux-builder: add maxJobs option
...
Fixes #751
2023-08-02 12:33:34 -07:00
Michael Hoang
d9e825f121
linux-builder: fix evaluation errors
...
- `modules` cannot be a nested list
- `nix.settings.extra-trusted-users` might not be set
2023-07-09 13:55:22 +10:00
Michael Hoang
d2b01ab455
nix/linux-builder: init
2023-07-08 14:05:37 +10:00