set up distributed builds

This commit is contained in:
Katherina Walshe-Grey 2024-11-15 18:28:08 +00:00
parent d69e1dcc16
commit c60b753c5c
5 changed files with 106 additions and 1 deletions

View file

@ -1,5 +1,8 @@
{ config, lib, pkgs, ... }:
let
keys = import ../../keys.nix;
in
{
imports = [
./hardware-configuration.nix
@ -12,10 +15,15 @@
fountain.users.qenya.enable = true;
users.users.qenya.extraGroups = [ "wheel" ];
fountain.users.trungle.enable = true;
qenya.base-server.enable = true;
qenya.services.remote-builder = {
enable = true;
authorizedKeys.keys = [ keys.machines.tohru ];
};
boot.binfmt.emulatedSystems = [ "x86_64-linux" ];
system.stateVersion = "23.11";
}

View file

@ -46,6 +46,12 @@
];
};
qenya.services.distributed-builds = {
enable = true;
keyFile = "/etc/ssh/ssh_host_ed25519_key";
builders = [ "kalessin" ];
};
programs.evolution.enable = true; # not in home-manager yet; not declaratively configurable yet
programs.steam.enable = true;