nix on git yippee
This commit is contained in:
commit
981186a787
17 changed files with 579 additions and 0 deletions
35
services/github-runners.nix
Normal file
35
services/github-runners.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
let extraPackages =
|
||||
let gtar = pkgs.runCommandNoCC "gtar" { } ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${lib.getExe pkgs.gnutar} $out/bin/gtar
|
||||
'';
|
||||
in
|
||||
with pkgs; [
|
||||
nix
|
||||
nixci
|
||||
cachix
|
||||
coreutils
|
||||
which
|
||||
jq
|
||||
gtar
|
||||
docker
|
||||
curl
|
||||
];
|
||||
|
||||
in
|
||||
{
|
||||
services.github-runners = {
|
||||
simplelink = {
|
||||
enable = true;
|
||||
name = "simplelink";
|
||||
url = "https://github.com/waveringana/simplelink";
|
||||
token = config.age.secrets."build-token".path;
|
||||
user = "regent";
|
||||
group = "docker";
|
||||
extraPackages = extraPackages;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue