···2525 HTTP_ADDR = ${cfg.httpAddress}
2626 HTTP_PORT = ${toString cfg.httpPort}
2727 ROOT_URL = ${cfg.rootUrl}
2828- STATIC_ROOT_PATH = ${cfg.staticRootPath}
29283029 [session]
3130 COOKIE_NAME = session
···177176 Marks session cookies as "secure" as a hint for browsers to only send
178177 them via HTTPS. This option is recommend, if Gogs is being served over HTTPS.
179178 '';
180180- };
181181-182182- staticRootPath = mkOption {
183183- type = types.str;
184184- default = "${pkgs.gogs.data}";
185185- example = "/var/lib/gogs/data";
186186- description = "Upper level of template and static files path.";
187179 };
188180189181 extraConfig = mkOption {