Compare commits
1 Commits
4c8cd73aea
...
gitea
| Author | SHA1 | Date | |
|---|---|---|---|
| 0cf0fc96ac |
@@ -18,6 +18,7 @@
|
|||||||
pingbox = {
|
pingbox = {
|
||||||
imports = [
|
imports = [
|
||||||
./postgres
|
./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