Initial commit
This commit is contained in:
commit
ea1a31f442
37 changed files with 875 additions and 0 deletions
17
roles/server/gitea.nix
Normal file
17
roles/server/gitea.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
specialisation.giteaEnableRegistration.configuration.services.gitea.settings.service.DISABLE_REGISTRATION = false;
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
# TODO: Make this not be hardcoded
|
||||
rootUrl = "http://everest.local:3000";
|
||||
settings = {
|
||||
#server.SSH_PORT = 69;
|
||||
service.DISABLE_REGISTRATION = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 3000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue