dump
All checks were successful
Hello World / test (push) Successful in 12s

This commit is contained in:
plasmagoat 2025-07-05 11:12:20 +02:00
parent 4ed9ba0d24
commit a90630ecb6
98 changed files with 2063 additions and 729 deletions

View file

@ -0,0 +1,3 @@
{
virtualisation.kvmgt.enable = true;
}

View file

@ -0,0 +1,9 @@
{
imports = [
../../templates/base.nix
../../secrets/shared-sops.nix
./networking.nix
./runner-user.nix
./builder.nix
];
}

View file

@ -0,0 +1,9 @@
{
config,
lib,
pkgs,
runnerId,
...
}: {
networking.hostName = "nixos-builder";
}

View file

@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}: {
users.users.runner = {
isNormalUser = true;
description = "forgejo-runner";
extraGroups = [
"wheel"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGlzZWik5bbH6/xjiCpwo1SQSJ/J/Cv7y4ZQ45P68GLB forgejo-runner"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICUP7m8jZJiclZGfSje8CeBYFhX10SrdtjYziuChmj1X plasmagoat@macbook-air"
];
};
}