diff options
author | yihuang <yi.codeplayer@gmail.com> | 2024-02-28 22:36:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 06:36:13 -0800 |
commit | 267735f78557938ec607e04d966dbac83a5a19bf (patch) | |
tree | 9991a00d3944bd26ceeca7e6246756cd3c600772 /doc | |
parent | 82a985a918e1afa2fb3cc846a1397dd556feca3d (diff) |
doc: fix darwin-builder doc (#291518)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/packages/darwin-builder.section.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/packages/darwin-builder.section.md b/doc/packages/darwin-builder.section.md index bf6ef906ca5a..788cd6da750e 100644 --- a/doc/packages/darwin-builder.section.md +++ b/doc/packages/darwin-builder.section.md @@ -97,6 +97,7 @@ $ sudo launchctl kickstart -k system/org.nixos.nix-daemon { virtualisation = { host.pkgs = pkgs; darwin-builder.workingDirectory = "/var/lib/darwin-builder"; + darwin-builder.hostPort = 22; }; } ]; @@ -110,7 +111,9 @@ $ sudo launchctl kickstart -k system/org.nixos.nix-daemon { nix.distributedBuilds = true; nix.buildMachines = [{ - hostName = "ssh://builder@localhost"; + hostName = "localhost"; + sshUser = "builder"; + sshKey = "/etc/nix/builder_ed25519"; system = linuxSystem; maxJobs = 4; supportedFeatures = [ "kvm" "benchmark" "big-parallel" ]; |