summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSophie Tauchert <sophie@999eagle.moe>2023-06-01 19:59:48 +0200
committerAlexandre Iooss <erdnaxe@crans.org>2023-06-02 07:28:58 +0200
commit3165373a903e589e074caeda13f65a3c18362fff (patch)
tree1a0aa718047706f2a252d4f3e41fa75db1592409
parentMerge pull request #235381 from NixOS/backport-234810-to-release-23.05 (diff)
downloadnixpkgs-3165373a903e589e074caeda13f65a3c18362fff.tar.gz
nixos/nitter: fix proxy option
(cherry picked from commit 2dbd1e56c11d9d0bec67c598d5f988cc335561ab)
-rw-r--r--nixos/modules/services/misc/nitter.nix8
1 files 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.";
};