add core configuration
This commit is contained in:
parent
74c78e1c68
commit
f40517cff1
94 changed files with 2816 additions and 959 deletions
32
modules/runners/default.nix
Normal file
32
modules/runners/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.lily.runners;
|
||||
in {
|
||||
options.lily.runners.enable = lib.mkEnableOption "activate plasma";
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Example
|
||||
# age.secrets.lily.file = ./secrets/lily.age;
|
||||
# services.gitea-actions-runner = {
|
||||
# package = pkgs.forgejo-runner;
|
||||
# instances = {
|
||||
# lilyvex = {
|
||||
# enable = true;
|
||||
# name = "caz-runner";
|
||||
# # token = runner-key;
|
||||
# tokenFile = config.age.secrets.lily.path;
|
||||
# url = "https://git.lilyvex.dev/";
|
||||
# labels = [
|
||||
# "node-22:docker://node:22-bookworm"
|
||||
# "nixos-latest:docker://nixos/nix"
|
||||
# "ubuntu-latest:docker://node:16-bullseye"
|
||||
# ];
|
||||
# #settings = { ... };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue