mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
refactor
This commit is contained in:
parent
18a990063b
commit
6bc1c616fa
1 changed files with 9 additions and 5 deletions
|
|
@ -16,19 +16,23 @@
|
|||
# https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-an-organization
|
||||
tokenFile = "/run/mykeys/gh-token-runner";
|
||||
extraPackages = with pkgs; [
|
||||
# Standard nix tools
|
||||
nixci
|
||||
cachix
|
||||
which
|
||||
|
||||
# For nixos-flake
|
||||
sd
|
||||
|
||||
# Tools already available in standard GitHub Runners; so we provide
|
||||
# them here:
|
||||
coreutils
|
||||
which
|
||||
jq
|
||||
# https://github.com/actions/upload-pages-artifact/blob/56afc609e74202658d3ffba0e8f6dda462b719fa/action.yml#L40
|
||||
(pkgs.runCommandNoCC "gtar" { } ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${lib.getExe pkgs.gnutar} $out/bin/gtar
|
||||
'')
|
||||
# For nixos-flake
|
||||
sd
|
||||
# Some useful tools
|
||||
jq
|
||||
];
|
||||
};
|
||||
repos = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue