diff --git a/configuration.nix b/configuration.nix index eb27cc5..45525e9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,7 +11,6 @@ in { ]; boot.loader.grub.enable = true; - boot.loader.grub.version = 2; boot.loader.grub.device = "/dev/vda"; swapDevices = [ @@ -40,18 +39,19 @@ in { services.gitea = { enable = true; appName = "${hostname}"; - domain = "${hostname}"; - rootUrl = "https://${hostname}"; - disableRegistration = true; + settings = { - "ui" = { - DEFAULT_THEME = "gitea"; + server = { + ROOT_URL = "https://${hostname}"; + DOMAIN = "${hostname}"; }; - "attachment" = { - ENABLED = true; - ALLOWED_TYPES = "*/*"; + service = { + DISABLE_REGISTRATION = true; }; - "other" = { + attachment = { + ENABLED = false; + }; + other = { SHOW_FOOTER_VERSION = false; }; "repository.signing" = { @@ -60,7 +60,7 @@ in { }; }; - security.acme.email = "letsencrypt@dumpstack.io"; + security.acme.defaults.email = "letsencrypt@dumpstack.io"; security.acme.acceptTerms = true; services.nginx = {