about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
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=";
+          };
+        });
       })
     ];
   };