diff --git a/nixos/modules/services/misc/nitter.nix b/nixos/modules/services/misc/nitter.nix index cbe26dc1f9bc..d00efe3dd485 100644 --- a/nixos/modules/services/misc/nitter.nix +++ b/nixos/modules/services/misc/nitter.nix @@ -45,6 +45,11 @@ let ''; in { + imports = [ + # https://github.com/zedeus/nitter/pull/772 + (mkRemovedOptionModule [ "services" "nitter" "replaceInstagram" ] "Nitter no longer supports this option as Bibliogram has been discontinued.") + ]; + options = { services.nitter = { enable = mkEnableOption (lib.mdDoc "Nitter"); @@ -208,12 +213,6 @@ in description = lib.mdDoc "Replace Reddit links with links to this instance (blank to disable)."; }; - replaceInstagram = mkOption { - type = types.str; - default = ""; - description = lib.mdDoc "Replace Instagram links with links to this instance (blank to disable)."; - }; - mp4Playback = mkOption { type = types.bool; default = true;