mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-08 01:07:23 +08:00
15 lines
419 B
Nix
15 lines
419 B
Nix
{ flake, ... }:
|
|
|
|
{
|
|
# If not using linux-builder, use a VM
|
|
nix.distributedBuilds = true;
|
|
nix.buildMachines = [{
|
|
hostName = "parallels-linux-builder";
|
|
systems = [ "aarch64-linux" "x86_64-linux" ];
|
|
supportedFeatures = [ "kvm" "benchmark" "big-parallel" ];
|
|
maxJobs = 6; # 6 cores
|
|
protocol = "ssh-ng";
|
|
sshUser = flake.config.people.myself;
|
|
sshKey = "/etc/ssh/ssh_host_ed25519_key";
|
|
}];
|
|
}
|