From 7a784af41d812013c68c613e8a71539232878140 Mon Sep 17 00:00:00 2001 From: Amanda Graven Date: Wed, 25 Jan 2023 19:34:07 +0100 Subject: [PATCH] gitea: Replace deprecated options --- config/hosts/wind/services/gitea.nix | 30 +++++++++++++++++----------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/config/hosts/wind/services/gitea.nix b/config/hosts/wind/services/gitea.nix index 58fc760..4a488d8 100644 --- a/config/hosts/wind/services/gitea.nix +++ b/config/hosts/wind/services/gitea.nix @@ -1,16 +1,22 @@ { ... }: { - services.gitea = { - enable = true; - domain = "git.graven.dev"; - rootUrl = "https://git.graven.dev"; - enableUnixSocket = true; - cookieSecure = true; - appName = "Graven Gitea"; - settings = { "ui" = { "DEFAULT_THEME" = "arc-green"; }; }; - database = { - type = "postgres"; - }; - }; + services.gitea = { + enable = true; + domain = "git.graven.dev"; + rootUrl = "https://git.graven.dev"; + enableUnixSocket = true; + appName = "Graven Gitea"; + settings = { + ui = { + "DEFAULT_THEME" = "arc-green"; + }; + session = { + "COOKIE_SECURE" = true; + }; + }; + database = { + type = "postgres"; + }; + }; }