copy nb configuration and modules
This commit is contained in:
15
utils/modules/gogs/default.nix
Normal file
15
utils/modules/gogs/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
services.gogs = {
|
||||
enable = true;
|
||||
domain = "git.cloonar.com";
|
||||
rootUrl = "http://git.cloonar.com/";
|
||||
httpAddress = "git.cloonar.com";
|
||||
httpPort = 3000;
|
||||
extraConfig = ''
|
||||
[server]
|
||||
EXTERNAL_URL = http://git.cloonar.com/
|
||||
[auth]
|
||||
DISABLE_REGISTRATION = true
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user