mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machine/workman: init
This commit is contained in:
parent
c48b59fe72
commit
8c029fad44
14 changed files with 336 additions and 1 deletions
24
machines/workman/remote-build.nix
Normal file
24
machines/workman/remote-build.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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 = [
|
||||
"benchmark"
|
||||
"kvm"
|
||||
"big-parallel"
|
||||
];
|
||||
sshUser = "nixremote";
|
||||
sshKey = secrets."nixremote/ssh_key".path;
|
||||
maxJobs = 4;
|
||||
}
|
||||
];
|
||||
|
||||
nix.distributedBuilds = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue