🔧 epicurus: configure remote builder

This commit is contained in:
James Walker 2022-01-06 20:42:24 -05:00
parent fb409f98ba
commit bf6612dfb8
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 19 additions and 1 deletions

View File

@ -5,7 +5,11 @@ let
in
{
imports = [ <home-manager/nix-darwin> ./homebrew.nix ];
imports = [
<home-manager/nix-darwin>
./homebrew.nix
../../modules/builder
];
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
@ -18,6 +22,7 @@ in
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
users.nix.configureBuildUsers = true;
users.users.walkah = {
home = "/Users/walkah";
shell = pkgs.zsh;
@ -46,6 +51,8 @@ in
};
};
services.lorri.enable = true;
programs = {
zsh = {
enable = true;

View File

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
nix.distributedBuilds = true;
nix.buildMachines = [{
hostName = "plato";
systems = [ "x86_64-linux" "aarch64-linux" ];
maxJobs = 12;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}];
}