Merge pull request #102061 from braunse/gogs-0-12-3

gogs: 0.11.91 -> 0.12.3
This commit is contained in:
StigP
2020-11-29 10:01:47 +01:00
committed by GitHub
3 changed files with 8 additions and 34 deletions

View File

@@ -25,7 +25,6 @@ let
HTTP_ADDR = ${cfg.httpAddress}
HTTP_PORT = ${toString cfg.httpPort}
ROOT_URL = ${cfg.rootUrl}
STATIC_ROOT_PATH = ${cfg.staticRootPath}
[session]
COOKIE_NAME = session
@@ -179,13 +178,6 @@ in
'';
};
staticRootPath = mkOption {
type = types.str;
default = "${pkgs.gogs.data}";
example = "/var/lib/gogs/data";
description = "Upper level of template and static files path.";
};
extraConfig = mkOption {
type = types.str;
default = "";