diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/web-servers/stargazer.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/web-servers/stargazer.nix | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/nixpkgs/nixos/modules/services/web-servers/stargazer.nix b/nixpkgs/nixos/modules/services/web-servers/stargazer.nix index 4eca33326040..da39c8172c8b 100644 --- a/nixpkgs/nixos/modules/services/web-servers/stargazer.nix +++ b/nixpkgs/nixos/modules/services/web-servers/stargazer.nix @@ -34,14 +34,14 @@ let in { options.services.stargazer = { - enable = lib.mkEnableOption (lib.mdDoc "Stargazer Gemini server"); + enable = lib.mkEnableOption "Stargazer Gemini server"; listen = lib.mkOption { type = lib.types.listOf lib.types.str; default = [ "0.0.0.0" ] ++ lib.optional config.networking.enableIPv6 "[::0]"; defaultText = lib.literalExpression ''[ "0.0.0.0" ] ++ lib.optional config.networking.enableIPv6 "[::0]"''; example = lib.literalExpression ''[ "10.0.0.12" "[2002:a00:1::]" ]''; - description = lib.mdDoc '' + description = '' Address and port to listen on. ''; }; @@ -49,25 +49,25 @@ in connectionLogging = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc "Whether or not to log connections to stdout."; + description = "Whether or not to log connections to stdout."; }; ipLog = lib.mkOption { type = lib.types.bool; default = false; - description = lib.mdDoc "Log client IP addresses in the connection log."; + description = "Log client IP addresses in the connection log."; }; ipLogPartial = lib.mkOption { type = lib.types.bool; default = false; - description = lib.mdDoc "Log partial client IP addresses in the connection log."; + description = "Log partial client IP addresses in the connection log."; }; requestTimeout = lib.mkOption { type = lib.types.int; default = 5; - description = lib.mdDoc '' + description = '' Number of seconds to wait for the client to send a complete request. Set to 0 to disable. ''; @@ -76,7 +76,7 @@ in responseTimeout = lib.mkOption { type = lib.types.int; default = 0; - description = lib.mdDoc '' + description = '' Number of seconds to wait for the client to send a complete request and for stargazer to finish sending the response. Set to 0 to disable. @@ -86,7 +86,7 @@ in store = lib.mkOption { type = lib.types.path; default = /var/lib/gemini/certs; - description = lib.mdDoc '' + description = '' Path to the certificate store on disk. This should be a persistent directory writable by Stargazer. ''; @@ -95,7 +95,7 @@ in certOrg = lib.mkOption { type = lib.types.str; default = "stargazer"; - description = lib.mdDoc '' + description = '' The name of the organization responsible for the X.509 certificate's /O name. ''; @@ -104,7 +104,7 @@ in genCerts = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc '' + description = '' Set to false to disable automatic certificate generation. Use if you want to provide your own certs. ''; @@ -113,7 +113,7 @@ in regenCerts = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc '' + description = '' Set to false to turn off automatic regeneration of expired certificates. Use if you want to provide your own certs. ''; @@ -122,7 +122,7 @@ in certLifetime = lib.mkOption { type = lib.types.str; default = ""; - description = lib.mdDoc '' + description = '' How long certs generated by Stargazer should live for. Certs live forever by default. ''; @@ -132,7 +132,7 @@ in debugMode = lib.mkOption { type = lib.types.bool; default = false; - description = lib.mdDoc "Run Stargazer in debug mode."; + description = "Run Stargazer in debug mode."; }; routes = lib.mkOption { @@ -149,11 +149,11 @@ in }); options.route = lib.mkOption { type = lib.types.str; - description = lib.mdDoc "Route section name"; + description = "Route section name"; }; }); default = [ ]; - description = lib.mdDoc '' + description = '' Routes that Stargazer should server. Expressed as a list of attribute sets. Each set must have a key `route` @@ -185,13 +185,13 @@ in user = lib.mkOption { type = lib.types.str; default = "stargazer"; - description = lib.mdDoc "User account under which stargazer runs."; + description = "User account under which stargazer runs."; }; group = lib.mkOption { type = lib.types.str; default = "stargazer"; - description = lib.mdDoc "Group account under which stargazer runs."; + description = "Group account under which stargazer runs."; }; }; |