mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-10 00:25:57 +08:00
umm
This commit is contained in:
parent
9483a8a503
commit
4937e68d5c
2 changed files with 25 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ in
|
|||
"${homeMod}/services/obsidian.nix"
|
||||
|
||||
# Remote builders
|
||||
# "${homeMod}/nix/buildMachines"
|
||||
# "${homeMod}/nix/buildMachines/sincereintent.nix"
|
||||
"${homeMod}/nix/buildMachines"
|
||||
"${homeMod}/nix/buildMachines/pureintent.nix"
|
||||
];
|
||||
|
||||
home.username = "srid";
|
||||
|
|
|
|||
23
modules/home/nix/buildMachines/pureintent.nix
Normal file
23
modules/home/nix/buildMachines/pureintent.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ ... }:
|
||||
{
|
||||
# Configure remote building to pureintent (NixOS x86_64-linux builder)
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "pureintent";
|
||||
sshUser = "srid";
|
||||
systems = [ "x86_64-linux" ];
|
||||
protocol = "ssh-ng";
|
||||
|
||||
maxJobs = 16;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
mandatoryFeatures = [ ];
|
||||
|
||||
sshKey = "/Users/srid/.ssh/nix-remote-builder";
|
||||
|
||||
# Run on the remote machine:
|
||||
# , base64 -w0 /etc/ssh/ssh_host_ed25519_key.pub
|
||||
publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSU9LZlI3R253cklWZW1QLzFrbmE4amJvTlJlZ0lzYVZMNm1UaTNvWHdNZFUgcm9vdEBuaXhvcwo=";
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue