summary refs log tree commit diff
path: root/nixos/modules/services/misc/nitter.nix
diff options
context:
space:
mode:
authorAlexandre Iooss <erdnaxe@crans.org>2023-04-14 08:04:49 +0200
committerAlexandre Iooss <erdnaxe@crans.org>2023-05-16 18:54:17 +0200
commit1ab4e66b791834e7aff659f0a781075f4b17421c (patch)
treeeaab8cc340b450c1d54002b424366a050c963101 /nixos/modules/services/misc/nitter.nix
parentd1d81f1866aa2449cbb2fabd229ac867a3f3e90b (diff)
downloadnixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.tar
nixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.tar.gz
nixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.tar.bz2
nixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.tar.lz
nixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.tar.xz
nixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.tar.zst
nixpkgs-1ab4e66b791834e7aff659f0a781075f4b17421c.zip
nixos/nitter: remove replaceInstagram option
Diffstat (limited to 'nixos/modules/services/misc/nitter.nix')
-rw-r--r--nixos/modules/services/misc/nitter.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/nitter.nix b/nixos/modules/services/misc/nitter.nix
index cbe26dc1f9b..d00efe3dd48 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;