···25 HTTP_ADDR = ${cfg.httpAddress}
26 HTTP_PORT = ${toString cfg.httpPort}
27 ROOT_URL = ${cfg.rootUrl}
28- STATIC_ROOT_PATH = ${cfg.staticRootPath}
2930 [session]
31 COOKIE_NAME = session
···177 Marks session cookies as "secure" as a hint for browsers to only send
178 them via HTTPS. This option is recommend, if Gogs is being served over HTTPS.
179 '';
180- };
181-182- staticRootPath = mkOption {
183- type = types.str;
184- default = "${pkgs.gogs.data}";
185- example = "/var/lib/gogs/data";
186- description = "Upper level of template and static files path.";
187 };
188189 extraConfig = mkOption {
···25 HTTP_ADDR = ${cfg.httpAddress}
26 HTTP_PORT = ${toString cfg.httpPort}
27 ROOT_URL = ${cfg.rootUrl}
02829 [session]
30 COOKIE_NAME = session
···176 Marks session cookies as "secure" as a hint for browsers to only send
177 them via HTTPS. This option is recommend, if Gogs is being served over HTTPS.
178 '';
0000000179 };
180181 extraConfig = mkOption {