This commit is contained in:
parent
4ed9ba0d24
commit
a90630ecb6
98 changed files with 2063 additions and 729 deletions
|
|
@ -1,11 +1,8 @@
|
|||
{ config, pkgs,... }:
|
||||
|
||||
{
|
||||
# users.users.forgejo-runner = {
|
||||
# isSystemUser = true;
|
||||
# extraGroups = [ "docker" ]; # Optional: if using docker jobs
|
||||
# };
|
||||
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-actions-runner;
|
||||
instances.default = {
|
||||
|
|
@ -25,19 +22,18 @@
|
|||
## optionally provide native execution on the host:
|
||||
"native:host"
|
||||
];
|
||||
settings = {
|
||||
log = {
|
||||
level = "debug";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
nodejs
|
||||
];
|
||||
|
||||
# systemd.services."forgejo-actions-runner-default".serviceConfig = {
|
||||
# User = "forgejo-runner";
|
||||
# Group = "forgejo-runner";
|
||||
# };
|
||||
|
||||
virtualisation.docker.enable = true; # Optional: if using docker
|
||||
virtualisation.docker.enable = true; # Optional: if using docker
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue