feat: add lfs to gitea runner

This commit is contained in:
dusk 2024-09-26 20:41:56 +03:00
parent 9ac1da82fa
commit d34544d4dc
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
3 changed files with 18 additions and 6 deletions

View File

@ -100,13 +100,13 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1727366047,
"narHash": "sha256-qeJQilEismXQ6pBUepB5LqrjvqRXYqiC9mkHH9ii28Q=",
"path": "/home/kirara/proj/website",
"lastModified": 1727370985,
"narHash": "sha256-dDUEMxoG3aaSDEoseVW7dapRnHIdgQkLQiFwPjo+dXQ=",
"path": "/home/firewatch/website",
"type": "path"
},
"original": {
"path": "/home/kirara/proj/website",
"path": "/home/firewatch/website",
"type": "path"
}
},

View File

@ -23,7 +23,7 @@
helix.url = "github:helix-editor/helix";
blog.url = "path:/home/kirara/proj/website";
blog.url = "path:/home/firewatch/website";
blog.inputs.nixpkgs.follows = "nixpkgs";
bernbot.url = "github:yusdacra/bernbot";

View File

@ -1,8 +1,20 @@
{config, ...}: {
{pkgs, config, ...}: {
services.gitea-actions-runner.instances."thermex" = {
enable = true;
url = config.services.gitea.settings.server.ROOT_URL;
name = "thermex";
tokenFile = config.age.secrets.giteaActRunnerToken.path;
labels = ["native:host"];
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
git-lfs
gnused
nodejs
wget
];
};
}