labels
This commit is contained in:
@@ -290,17 +290,16 @@
|
|||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
instances.infrastructure = {
|
instances.infrastructure = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
name = "infrastructure-runner";
|
name = "infrastructure-runner";
|
||||||
url = "https://gitea.example.com";
|
url = "https://gitea.example.com";
|
||||||
tokenFile = "/data/runner/gitea-infrastructure-token.txt";
|
tokenFile = "/data/runner/gitea-infrastructure-token.txt";
|
||||||
labels = [
|
labels = [
|
||||||
"home-server"
|
"home-server"
|
||||||
"ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
"ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
||||||
];
|
];
|
||||||
|
|
||||||
hostPackages = with pkgs; [
|
hostPackages = with pkgs; [
|
||||||
docker
|
docker
|
||||||
|
git
|
||||||
git-secret
|
git-secret
|
||||||
zfs
|
zfs
|
||||||
sanoid
|
sanoid
|
||||||
@@ -313,6 +312,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.gitea-runner-infrastructure.serviceConfig = {
|
systemd.services.gitea-runner-infrastructure.serviceConfig = {
|
||||||
|
User = "github";
|
||||||
|
Group = "users";
|
||||||
ReadWritePaths = [
|
ReadWritePaths = [
|
||||||
"/data/cloudflare/"
|
"/data/cloudflare/"
|
||||||
"/data/runner/infrastructure"
|
"/data/runner/infrastructure"
|
||||||
|
|||||||
Reference in New Issue
Block a user