format all

This commit is contained in:
Kopatz
2025-10-30 21:59:31 +01:00
parent b1dda4d037
commit 8a78e618bb
188 changed files with 3526 additions and 1825 deletions

View File

@@ -1,6 +1,14 @@
{ config, pkgs, lib, inputs, ... }:
let cfg = config.custom.services.github-runner;
in {
{
config,
pkgs,
lib,
inputs,
...
}:
let
cfg = config.custom.services.github-runner;
in
{
options.custom.services.github-runner = {
enable = lib.mkEnableOption "Enables github-runner service.";
};
@@ -34,11 +42,16 @@ in {
url = "https://github.com/oberprofis";
user = "github-actions-runner";
workDir = "/github-actions-runner";
extraPackages = with pkgs; [ rsync nodePackages.pnpm nodejs ];
extraPackages = with pkgs; [
rsync
nodePackages.pnpm
nodejs
];
serviceOverrides = {
BindPaths = [ "/github-actions-runner" ]
++ lib.optional config.custom.services.kavita.enable
config.custom.services.kavita.dir;
BindPaths = [
"/github-actions-runner"
]
++ lib.optional config.custom.services.kavita.enable config.custom.services.kavita.dir;
UMask = "022";
};
};