nixos/gancio: set default value for settings.baseurl
This commit is contained in:
parent
432bfec026
commit
3a33b6c3a8
@ -54,9 +54,12 @@ in
|
|||||||
};
|
};
|
||||||
baseurl = mkOption {
|
baseurl = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "";
|
default = "http${
|
||||||
example = "/gancio";
|
lib.optionalString config.services.nginx.virtualHosts."${cfg.settings.hostname}".enableACME "s"
|
||||||
description = "The URL path under which the server is reachable.";
|
}://${cfg.settings.hostname}";
|
||||||
|
defaultText = lib.literalExpression ''"https://''${cfg.settings.hostname}"'';
|
||||||
|
example = "https://demo.gancio.org/gancio";
|
||||||
|
description = "The full URL under which the server is reachable.";
|
||||||
};
|
};
|
||||||
server = {
|
server = {
|
||||||
socket = mkOption {
|
socket = mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user