gitea: Replace deprecated options

This commit is contained in:
Amanda Graven 2023-01-25 19:34:07 +01:00
parent 03650c11c0
commit 7a784af41d
Signed by: amanda
GPG key ID: F747582C5608F4CB

View file

@ -1,16 +1,22 @@
{ ... }: { ... }:
{ {
services.gitea = { services.gitea = {
enable = true; enable = true;
domain = "git.graven.dev"; domain = "git.graven.dev";
rootUrl = "https://git.graven.dev"; rootUrl = "https://git.graven.dev";
enableUnixSocket = true; enableUnixSocket = true;
cookieSecure = true; appName = "Graven Gitea";
appName = "Graven Gitea"; settings = {
settings = { "ui" = { "DEFAULT_THEME" = "arc-green"; }; }; ui = {
database = { "DEFAULT_THEME" = "arc-green";
type = "postgres"; };
}; session = {
}; "COOKIE_SECURE" = true;
};
};
database = {
type = "postgres";
};
};
} }