diff --git a/modules/services/nitter.nix b/modules/services/nitter.nix index 70ddfa5..8d0b341 100644 --- a/modules/services/nitter.nix +++ b/modules/services/nitter.nix @@ -33,7 +33,7 @@ in { services = { nitter = { enable = true; - package = pkgs.unstable.nitter; + package = pkgs.nitter; server = { address = "127.0.0.1"; port = cfg.port; diff --git a/overlays/nitter.nix b/overlays/nitter.nix new file mode 100644 index 0000000..f5c280a --- /dev/null +++ b/overlays/nitter.nix @@ -0,0 +1,12 @@ +self: super: { + nitter = super.nitter.overrideAttrs (old: { + # https://github.com/zedeus/nitter/pull/830 + version = "unstable-2023-04-16"; + src = super.fetchFromGitHub { + owner = "PrivacyDevel"; + repo = "nitter"; + rev = "11279e2b4ff612f523380c2ff4678a056eb5c03c"; + hash = "sha256-GSBtyrrQTYRO9+XNXZsXOtnQ5QrLqmKE81RkuX/btUs="; + }; + }); +}