mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
converted to github pat
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
vars = import ../vars.nix;
|
vars = import ../vars.nix;
|
||||||
cfg = config.services.nix_builder;
|
cfg = config.services.nix_builder;
|
||||||
@@ -52,9 +51,9 @@ in
|
|||||||
hostPath = "/nix/var/nix/daemon-socket";
|
hostPath = "/nix/var/nix/daemon-socket";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
secrets = {
|
pat = {
|
||||||
hostPath = "${vars.secrets}/services/github-runners/${name}";
|
hostPath = "${vars.secrets}/services/github-runners/runner_pat";
|
||||||
mountPoint = "${vars.secrets}/services/github-runners/${name}";
|
mountPoint = "${vars.secrets}/services/github-runners/runner_pat";
|
||||||
isReadOnly = true;
|
isReadOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -109,7 +108,7 @@ in
|
|||||||
workDir = "/zfs/media/github-runners/${name}";
|
workDir = "/zfs/media/github-runners/${name}";
|
||||||
url = "https://github.com/RichieCahill/dotfiles";
|
url = "https://github.com/RichieCahill/dotfiles";
|
||||||
extraLabels = [ "nixos" ];
|
extraLabels = [ "nixos" ];
|
||||||
tokenFile = "${vars.secrets}/services/github-runners/${name}";
|
tokenFile = "${vars.secrets}/services/github-runners/runner_pat";
|
||||||
user = "github-runners";
|
user = "github-runners";
|
||||||
group = "github-runners";
|
group = "github-runners";
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user