about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorSophie Tauchert <sophie@999eagle.moe>2023-06-01 19:59:48 +0200
committerSophie Tauchert <sophie@999eagle.moe>2023-06-01 19:59:48 +0200
commit2dbd1e56c11d9d0bec67c598d5f988cc335561ab (patch)
tree62528a89e24ec437ad6cf6f342c0d5767b685eb1 /nixos/modules/services
parent4f53efe34b3a8877ac923b9350c874e3dcd5dc0a (diff)
downloadnixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.tar
nixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.tar.gz
nixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.tar.bz2
nixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.tar.lz
nixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.tar.xz
nixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.tar.zst
nixlib-2dbd1e56c11d9d0bec67c598d5f988cc335561ab.zip
nixos/nitter: fix proxy option
Diffstat (limited to 'nixos/modules/services')
-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.";
         };