Skip to content

Commit

Permalink
30 papercuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Enzime committed Dec 21, 2024
1 parent 08498e0 commit 1c33460
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
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;
}

0 comments on commit 1c33460

Please # to comment.