From f6db62fef13351074fa1c706ebd8b499b100e9b9 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 9 Apr 2023 14:55:58 -0400 Subject: [PATCH] fix(Infini-SERVER/nitter): use workaround for Age Restricted content --- hosts/Infini-SERVER/default.nix | 1 + overlays/patches/default.nix | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/hosts/Infini-SERVER/default.nix b/hosts/Infini-SERVER/default.nix index dbeda95..81d6599 100644 --- a/hosts/Infini-SERVER/default.nix +++ b/hosts/Infini-SERVER/default.nix @@ -3,6 +3,7 @@ (with suites; [ base ]) private.nixosModules.minecraft-servers + private.nixosModules.nitter ./hardware-configuration.nix ]; diff --git a/overlays/patches/default.nix b/overlays/patches/default.nix index 2355303..f6b6c38 100644 --- a/overlays/patches/default.nix +++ b/overlays/patches/default.nix @@ -2,4 +2,13 @@ final: prev: { coreutils-doge = prev.coreutils.overrideAttrs (old: { patches = [ ./coreutils.patch ]; }); + + nitter = prev.nitter.overrideAttrs (old: { + patches = (old.patches or [ ]) ++ [ + (final.fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/zedeus/nitter/pull/830.patch"; + hash = "sha256-MIl22yWHAGQtcB1/B9OfbfoVhxOBIAJ3n1eT2Ko1Y3Q="; + }) + ]; + }); }