Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embrace 🫂 #55

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Use `clan.lol` as a remote builder for `hermes-macos`
- Added `phi-nixos` to `clan`
- Changed `nixpkgs.hostPlatform` to be automatically set by `mkConfiguration` rather than `hardware-configuration.nix` and passed as `system` to `nixpkgs.lib.nixosSystem`
- Changed `no-ifd` patch to change `hosts/hermes/hardware-configuration.nix` instead of `flake.nix` to reduce churn
Expand Down
20 changes: 10 additions & 10 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions hosts/hermes/darwin-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,19 @@
nix.linux-builder.config.virtualisation.darwin-builder.diskSize = 50
* 1024; # 50 GiB

nix.distributedBuilds = true;

nix.buildMachines = [{
# Use ssh-ng for trustless remote building of input-addressed derivations
# i.e. not requiring remote user to be a trusted-user
protocol = "ssh-ng";
hostName = "clan.lol";
sshUser = "enzime";
sshKey = "/etc/ssh/ssh_host_ed25519_key";
system = "x86_64-linux";
supportedFeatures = [ "kvm" "benchmark" "big-parallel" ];
maxJobs = 96;
}];

system.stateVersion = 5;
}
Loading