mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machine/thinkman: config remote-builder
This commit is contained in:
parent
b37162bd3f
commit
2ec11aaa48
3 changed files with 24 additions and 2 deletions
19
machines/thinkman/remote-build.nix
Normal file
19
machines/thinkman/remote-build.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
# enabled remote-build service
|
||||
{ config, ... }:
|
||||
let
|
||||
inherit (config.sops) secrets;
|
||||
in
|
||||
{
|
||||
sops.secrets."nixremote/ssh_key" = { };
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "buehler.rocks";
|
||||
system = "x86_64-linux";
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "kvm" "big-parallel" ];
|
||||
sshUser = "nixremote";
|
||||
sshKey = secrets."nixremote/ssh_key".path;
|
||||
}
|
||||
];
|
||||
|
||||
nix.distributedBuilds = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue