alerts...
This commit is contained in:
parent
7278922625
commit
fc9971ddc9
5 changed files with 324 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ let
|
|||
cfg = config.services.forgejo;
|
||||
srv = cfg.settings.server;
|
||||
domain = "git.procopius.dk";
|
||||
ssh_domain = "gitssh.procopius.dk";
|
||||
in
|
||||
{
|
||||
users.users.plasmagoat.extraGroups = [ "forgejo" ];
|
||||
|
|
@ -19,6 +20,10 @@ in
|
|||
ROOT_URL = "https://${srv.DOMAIN}/";
|
||||
PROTOCOL = "http";
|
||||
HTTP_PORT = 3000;
|
||||
|
||||
START_SSH_SERVER = true;
|
||||
SSH_PORT = 2222;
|
||||
SSH_DOMAIN = ssh_domain;
|
||||
};
|
||||
database = {
|
||||
DB_TYPE = lib.mkForce "postgres";
|
||||
|
|
@ -61,5 +66,5 @@ in
|
|||
'';
|
||||
|
||||
# Optional: firewall
|
||||
networking.firewall.allowedTCPPorts = [ 3000 ];
|
||||
networking.firewall.allowedTCPPorts = [ 3000 2222 ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue