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"; + }; + }; +}