gitea changes
This commit is contained in:
parent
8adb0328ab
commit
7a5c217c9d
1 changed files with 0 additions and 22 deletions
|
|
@ -2,7 +2,6 @@
|
|||
let
|
||||
cids = import ../modules/staticids.nix;
|
||||
domain = "git.cloonar.com";
|
||||
ip = "10.42.97.3";
|
||||
|
||||
user = {
|
||||
isSystemUser = true;
|
||||
|
|
@ -14,25 +13,8 @@ let
|
|||
group = {
|
||||
gid = cids.gids.gitea;
|
||||
};
|
||||
|
||||
|
||||
runner-user = {
|
||||
isSystemUser = true;
|
||||
uid = cids.uids.gitea-runner;
|
||||
group = "gitea-runner";
|
||||
home = "/var/lib/gitea-runner";
|
||||
createHome = true;
|
||||
extraGroups = [ "docker" "podman" ];
|
||||
};
|
||||
runner-group = {
|
||||
gid = cids.gids.gitea-runner;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"gitea-1.19.4"
|
||||
];
|
||||
|
||||
users.users.gitea = user;
|
||||
users.groups.gitea = group;
|
||||
|
||||
|
|
@ -102,7 +84,6 @@ in
|
|||
SHOW_REGISTRATION_BUTTON = false;
|
||||
};
|
||||
actions.ENABLED=true;
|
||||
webhook.ALLOWED_HOST_LIST = "drone.cloonar.com";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -115,9 +96,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.users.gitea-runner = runner-user;
|
||||
users.groups.gitea-runner = runner-group;
|
||||
|
||||
sops.secrets.gitea-runner-token = {
|
||||
owner = "gitea-runner";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue