nixos/nitter: add new upstream options

Changed files
+22
nixos
modules
services
misc
+22
nixos/modules/services/misc/nitter.nix
···
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;
···
type = types.bool;
default = false;
description = lib.mdDoc "Hide tweet replies.";
+
};
+
+
squareAvatars = mkOption {
+
type = types.bool;
+
default = false;
+
description = lib.mdDoc "Square profile pictures.";
};
};