summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorAlexandre Iooss <erdnaxe@crans.org>2023-04-14 08:04:37 +0200
committerAlexandre Iooss <erdnaxe@crans.org>2023-05-16 18:54:02 +0200
commitd1d81f1866aa2449cbb2fabd229ac867a3f3e90b (patch)
tree402895619523a7d38ef02d87ee12419f99017b47 /nixos/modules
parent4c11be3b1a5e010bb633a45ef69d396b95451638 (diff)
downloadnixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.tar
nixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.tar.gz
nixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.tar.bz2
nixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.tar.lz
nixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.tar.xz
nixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.tar.zst
nixpkgs-d1d81f1866aa2449cbb2fabd229ac867a3f3e90b.zip
nixos/nitter: add new upstream options
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/misc/nitter.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/nitter.nix b/nixos/modules/services/misc/nitter.nix
index 2d0d91f9598..cbe26dc1f9b 100644
--- a/nixos/modules/services/misc/nitter.nix
+++ b/nixos/modules/services/misc/nitter.nix
@@ -155,6 +155,22 @@ in
           description = lib.mdDoc "Use base64 encoding for proxied media URLs.";
         };
 
+        enableRSS = mkEnableOption (lib.mdDoc "RSS feeds") // { default = true; };
+
+        enableDebug = mkEnableOption (lib.mdDoc "request logs and debug endpoints");
+
+        proxy = mkOption {
+          type = types.nullOr types.str;
+          default = null;
+          description = lib.mdDoc "URL to a HTTP/HTTPS proxy.";
+        };
+
+        proxyAuth = mkOption {
+          type = types.nullOr types.str;
+          default = null;
+          description = lib.mdDoc "Credentials for proxy.";
+        };
+
         tokenCount = mkOption {
           type = types.int;
           default = 10;
@@ -275,6 +291,12 @@ in
           default = false;
           description = lib.mdDoc "Hide tweet replies.";
         };
+
+        squareAvatars = mkOption {
+          type = types.bool;
+          default = false;
+          description = lib.mdDoc "Square profile pictures.";
+        };
       };
 
       settings = mkOption {