You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cool if there was some support (maybe even a structured attrset like in nixos?) to add a builder to /etc/nix/machines. That way it becomes trivial to set up a build server instead of stealing minutes from the Github builders.
And now nix will use the nixos community aarch builder for my "aarch64-linux" derivations.
We of course also need a way to specify the private ssh key for logging into the builder. And maybe a security warning, that running nix on a builder might be a remote execution vector (nix sandboxes it, but exploits are not unheard of, so you might only want to enable it in private repos and/or on PRs by trusted contributors).
The text was updated successfully, but these errors were encountered:
It would be cool if there was some support (maybe even a structured attrset like in nixos?) to add a builder to /etc/nix/machines.
Agreed :) Could you propose how it would work?
That way it becomes trivial to set up a build server instead of stealing minutes from the Github builders.
It would still take minutes from GHA, but it would be a lot faster?
We of course also need a way to specify the private ssh key for logging into the builder. And maybe a security warning, that running nix on a builder might be a remote execution vector (nix sandboxes it, but exploits are not unheard of, so you might only want to enable it in private repos and/or on PRs by trusted contributors).
It would still take minutes from GHA, but it would be a lot faster?
Definitely, it also frees us up to use any cheap hosting offer, e.g. with 128 cores which can be helpful for fast CI times with nix builds that e.g. bump nixpkgs.
It would be cool if there was some support (maybe even a structured attrset like in nixos?) to add a builder to
/etc/nix/machines
. That way it becomes trivial to set up a build server instead of stealing minutes from the Github builders.For example in my nixos config I have:
which creates the following line in
/etc/nix/machines
:And now nix will use the nixos community aarch builder for my "aarch64-linux" derivations.
We of course also need a way to specify the private ssh key for logging into the builder. And maybe a security warning, that running nix on a builder might be a remote execution vector (nix sandboxes it, but exploits are not unheard of, so you might only want to enable it in private repos and/or on PRs by trusted contributors).
The text was updated successfully, but these errors were encountered: