mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
creating github-runners nix_builder
This commit is contained in:
@@ -14,6 +14,7 @@ in
|
|||||||
./home_assistant.nix
|
./home_assistant.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
|
./runner.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
|
|||||||
14
systems/jeeves/runner.nix
Normal file
14
systems/jeeves/runner.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
let
|
||||||
|
vars = import ./vars.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
services.github-runners.nix_builder = {
|
||||||
|
enable = true;
|
||||||
|
workDir = "/home/richie/test";
|
||||||
|
url = "https://github.com/RichieCahill/dotfiles";
|
||||||
|
extraLabels = [ "nixos" ];
|
||||||
|
tokenFile = "${vars.storage_secrets}/services/github_runners/nix_builder";
|
||||||
|
# extraPackages
|
||||||
|
# extraEnvironment
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user