mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added github-runners user and group
This commit is contained in:
@@ -2,12 +2,25 @@ let
|
|||||||
vars = import ./vars.nix;
|
vars = import ./vars.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
users = {
|
||||||
|
users.github-runners = {
|
||||||
|
isSystemUser = true;
|
||||||
|
group = "github-runners";
|
||||||
|
uid = 601;
|
||||||
|
};
|
||||||
|
groups.github-runners = {
|
||||||
|
gid = 601;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.github-runners.nix_builder = {
|
services.github-runners.nix_builder = {
|
||||||
enable = true;
|
enable = true;
|
||||||
workDir = "/home/richie/test";
|
workDir = "/home/richie/test";
|
||||||
url = "https://github.com/RichieCahill/dotfiles";
|
url = "https://github.com/RichieCahill/dotfiles";
|
||||||
extraLabels = [ "nixos" ];
|
extraLabels = [ "nixos" ];
|
||||||
tokenFile = "${vars.storage_secrets}/services/github_runners/nix_builder";
|
tokenFile = "${vars.storage_secrets}/services/github_runners/nix_builder";
|
||||||
|
user = "github-runners";
|
||||||
|
group = "github-runners";
|
||||||
# extraPackages
|
# extraPackages
|
||||||
# extraEnvironment
|
# extraEnvironment
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user