refactor: updated cseseniordesign github runners to automatically register

This commit is contained in:
Ceferino Patino 2025-11-16 09:58:38 -06:00
commit 6b8cd7d036
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI
3 changed files with 12 additions and 22 deletions

View file

@ -89,6 +89,15 @@ in {
groups.github-runner = {};
};
sops.secrets = let
inherit (config.users.users) github-runner;
in {
"github/runner" = {
owner = github-runner.name;
group = github-runner.group;
};
};
${namespace}.services.storage.impermanence.folders = ["/var/lib/github-runner"];
};
}

File diff suppressed because one or more lines are too long

View file

@ -40,7 +40,6 @@ in {
runners = {
"cseseniordesign" = {
url = "https://github.com/cseseniordesign/dqc-r-and-s";
tokenFile = config.sops.secrets."github/runner-cseseniordesign".path;
};
};
};
@ -69,22 +68,6 @@ in {
};
};
sops.secrets = let
inherit (config.users.users) github-runner;
in
[
"github/runner"
"github/runner-cseseniordesign"
]
|> map (secret: {
name = secret;
value = {
owner = github-runner.name;
group = github-runner.group;
};
})
|> listToAttrs;
networking = {
hostName = "shiori";
hostId = "1a4ecbe3";