rename nodes and add runner for gitea instance
This commit is contained in:
23
modules/gitea/sin/default.nix
Normal file
23
modules/gitea/sin/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{lib, ...}: let
|
||||
ssh_port = 24658;
|
||||
in {
|
||||
services = {
|
||||
gitea = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.shobu.fr";
|
||||
SSH_PORT = ssh_port;
|
||||
ROOT_URL = "https://git.shobu.fr";
|
||||
};
|
||||
service = {
|
||||
REGISTER_EMAIL_CONFIRM = false;
|
||||
REGISTER_MANUAL_CONFIRM = true;
|
||||
};
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user