summaryrefslogtreecommitdiff
path: root/modules/nix/linux-builder.nix
AgeCommit message (Collapse)Author
2024-11-28linux-builder: default `maxJobs` to amount of cores for Linux builderMichael Hoang
2024-09-22feat: use wait4path with script launchd optionwill
addresses https://github.com/LnL7/nix-darwin/issues/1043 fix: use exec in launchd daemon config fix: dont use a script thats in the nix store fix: remove manual wait4path in linux-builder fix: remove manual wait4path in karabiner elements fix: remove manual wait4path in nix-daemon fix: remove manual wait4path in nix-optimise fix: remove manual wait4path in tailscaled fix: autossh test Revert "fix: remove manual wait4path in nix-daemon" This reverts commit 6aec084fa5d095666e81676e78f7054c83703faa. fix: remove bad exec Reapply "fix: remove manual wait4path in nix-daemon" This reverts commit c8f136ecc555f803124af471324bc6ed1163d6dd. fix: update autossh test to reflect changes in f86e6133d957becb1958da638516b0860fbd7491 fix: services-activate-system-changed-label-prefix test fix: services-buildkite-agent test fix: services-activate-system test fix: escape ampersand fix: services-lorri test fix: services-nix-optimise test fix: services-nix-gc test refactor: use script rather than command in daemon fix: use config.command for clarity style: fix indentation fix: use lib.getExe rather than directly pointing to file revert: a87fc7bbbbdb7c25c5ad6721c93990ea035affdd - mistaken refactor meant that service waited for nix store and not the relevant path
2024-09-05linux-builder: make `package.nixosConfig` accurateMichael Hoang
2024-07-12Update modules/nix/linux-builder.nixThane Gill
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-07-09Add `User` and already generated `IdentityFile` to ssh_config for ↵Thane Gill
`nix.linux-builder`
2024-06-17Merge pull request #974 from nicknovitski/linux-builder-crossarchMichael Hoang
2024-06-16linux-builder: make compatible with cross-arch builder packageNick Novitski
Before this commit, aarch64 users building the following configuration would end up with an aarch64-linux builder, while after it, they get the x86_64-linux builder they expect: ```nix nix.linux-builder = { enable = true; package = pkgs.darwin.linux-builder-x86_64; }; ``` Before, in order to get an x86_64-linux builder, they would have needed to use this configuration instead: ```nix nix.linux-builder = { enable = true; config.nixpkgs.hostPlatform = "x86_64-linux"; systems = ["x86_64-linux"]; }; ``` The reason for this is that the linux-builder module calls `override` on the package option, and the `linux-builder-x86_64` package is also defined using override: ```nix linux-builder-x86_64 = linux-builder.override { modules = [ { nixpkgs.hostPlatform = "x86_64-linux"; } ]; }; ``` The module was effectively discarding the `nixpkgs.hostPlatform` option. Example issue: https://github.com/NixOS/nixpkgs/issues/313784
2024-06-13Merge pull request #842 from Enzime/linux-builder-trustEmily
linux-builder: remove trusted user requirement
2024-04-19treewide: remove lib.mdDocWeijia Wang
2024-02-21apply feedback, fix merge goofLogan Barnett
2024-02-21Merge remote-tracking branch 'ethnt/linux-builder-systems-config' into ↵Logan Barnett
linux-builder-big-config-take-2
2024-02-21Merge remote-tracking branch 'stv0g/linux-runner-options' into ↵Logan Barnett
linux-builder-big-config-take-2
2024-02-20linux-builder: default pass through protocol to nix.buildMachinesLogan Barnett
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-18linux-builder: Pass through more options to nix.buildMachinesSteffen Vogel
This commit passes more options to nix.buildMachines. Namely the mandatoryFeatures and speedFactor settings have been missing.
2024-01-15Dedupe the WorkingDirectory path of the linux-builderJacek Galowicz
2023-12-31linux-builder: remove trusted user requirementMichael Hoang
If you set up a signing key for the `linux-builder` and add that as trusted public key on your machine, you won't need to be a trusted user at all.
2023-11-22Add default system to `systems` optionEthan Turkeltaub
2023-11-22Use `nix.buildMachines.*.systems` instead of `nix.buildMachines.*.system`Ethan Turkeltaub
2023-11-22Add `nix.linux-builder.systems` option to set corresponding ↵Ethan Turkeltaub
`nix.buildMachines.*.systems` option
2023-11-08Merge pull request #785 from Enzime/deferred-modulesDomen Kožar
linux-builder: change from `modules` to `config`
2023-10-27Merge pull request #791 from lilyball/linux-builder-tmpdirMichael Hoang
linux-builder: avoid /tmp for certs
2023-10-18Provide 'supportedFeatures' option to the linux builder moduleAlexis Destrez
2023-10-09linux-builder: avoid /tmp for certsLily Ballard
Fixes #768
2023-09-29linux-builder: change from `modules` to `config`Michael Hoang
Using the type `deferredModule` fixes `pkgs` not being accessible as a module argument (apart from `config._module.args.pkgs`).
2023-08-02linux-builder: add maxJobs optionLily Ballard
Fixes #751
2023-07-09linux-builder: fix evaluation errorsMichael Hoang
- `modules` cannot be a nested list - `nix.settings.extra-trusted-users` might not be set
2023-07-08nix/linux-builder: initMichael Hoang