about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-04-27 10:46:52 +0900
committersefidel <contact@sefidel.net>2024-04-27 11:48:02 +0900
commit4d876b55bfee9eb42e366f2157715167be765869 (patch)
treef2358b34ac8053aab018fd585d4c913bb830af12 /nixos
parenta8c0b1aabcd6c65bfbf474a38d2c90547c48de79 (diff)
downloadnixrc-4d876b55bfee9eb42e366f2157715167be765869.tar.gz
nixrc-4d876b55bfee9eb42e366f2157715167be765869.zip
chore(modules/invidious): move to latest version
Diffstat (limited to 'nixos')
-rw-r--r--nixos/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
index d20458d..599ba75 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -1,4 +1,4 @@
-{ self, unstable, nixpkgs-invidious, ... } @ inputs:
+{ self, unstable, ... } @ inputs:
 
 {
   alpha = self.lib.mkSystem {
@@ -31,9 +31,16 @@
     ];
     overlays = [
       (final: prev: {
-        # TODO: https://github.com/NixOS/nixpkgs/pull/300643
-        inherit (nixpkgs-invidious.legacyPackages.x86_64-linux)
-          invidious;
+        # TODO: https://github.com/NixOS/nixpkgs/pull/307083
+        invidious = prev.invidious.overrideAttrs(old: {
+          src = prev.fetchFromGitHub {
+            owner = "iv-org";
+            repo = "invidious";
+            fetchSubmodules = true;
+            rev = "v2.20240427";
+            hash = "sha256-YZ+uhn1ESuRTZxAMoxKCpxEaUfeCUqOrSr3LkdbrTkU=";
+          };
+        });
       })
     ];
   };