From f869cac21f20dcbe738cd75074a7cbb2c4d9e3f4 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 3 Jul 2022 13:26:49 +0200 Subject: [PATCH] newton: initial gitea --- nixos/modules/webapps/gitea.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 nixos/modules/webapps/gitea.nix diff --git a/nixos/modules/webapps/gitea.nix b/nixos/modules/webapps/gitea.nix new file mode 100644 index 0000000..0dc7abb --- /dev/null +++ b/nixos/modules/webapps/gitea.nix @@ -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"; + }; + }; +}