From 2dbd1e56c11d9d0bec67c598d5f988cc335561ab Mon Sep 17 00:00:00 2001 From: Sophie Tauchert Date: Thu, 1 Jun 2023 19:59:48 +0200 Subject: [PATCH] nixos/nitter: fix proxy option --- nixos/modules/services/misc/nitter.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/misc/nitter.nix b/nixos/modules/services/misc/nitter.nix index d00efe3dd485..9336dbe38f34 100644 --- a/nixos/modules/services/misc/nitter.nix +++ b/nixos/modules/services/misc/nitter.nix @@ -165,14 +165,14 @@ in enableDebug = mkEnableOption (lib.mdDoc "request logs and debug endpoints"); proxy = mkOption { - type = types.nullOr types.str; - default = null; + type = types.str; + default = ""; description = lib.mdDoc "URL to a HTTP/HTTPS proxy."; }; proxyAuth = mkOption { - type = types.nullOr types.str; - default = null; + type = types.str; + default = ""; description = lib.mdDoc "Credentials for proxy."; };