Compare commits
1 Commits
888ce3e9d3
...
gitea
| Author | SHA1 | Date | |
|---|---|---|---|
| 0cf0fc96ac |
@@ -18,6 +18,7 @@
|
||||
pingbox = {
|
||||
imports = [
|
||||
./postgres
|
||||
./gitea
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
15
modules/gitea/default.nix
Normal file
15
modules/gitea/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
appName = "My awesome Gitea server"; # Give the site a name
|
||||
database = {
|
||||
type = "sqlite3";
|
||||
};
|
||||
settings = {
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user