mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
newton: initial gitea
This commit is contained in:
parent
789d2a4c98
commit
f869cac21f
1 changed files with 22 additions and 0 deletions
22
nixos/modules/webapps/gitea.nix
Normal file
22
nixos/modules/webapps/gitea.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
gitea = {
|
||||||
|
enable = true;
|
||||||
|
cookieSecure = true;
|
||||||
|
httpPort = 3001;
|
||||||
|
rootUrl = "https://git.buehler.rocks/";
|
||||||
|
log.level = "Warn";
|
||||||
|
disableRegistration = true;
|
||||||
|
settings = {
|
||||||
|
ui.DEFAULT_THEME = "arc-green";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
webapps.apps.gitea = {
|
||||||
|
dashboard = {
|
||||||
|
name = "Git";
|
||||||
|
category = "app";
|
||||||
|
icon = "git";
|
||||||
|
link = "http://git.buehler.rocks";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue