about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-04-01 17:24:03 +0900
committersefidel <contact@sefidel.net>2024-04-01 17:29:36 +0900
commitdf7d9f91d484f1388b8929cd033b06d961ee8c3c (patch)
tree6eee60f94f325dc2172058c01f0ec33f17933657 /nixos
parent0862ccd02810d2bedec3211cff871c1d732cd12c (diff)
downloadnixrc-df7d9f91d484f1388b8929cd033b06d961ee8c3c.tar.gz
nixrc-df7d9f91d484f1388b8929cd033b06d961ee8c3c.zip
fix(nixos/kanata): use invidious overlay
Diffstat (limited to 'nixos')
-rw-r--r--nixos/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
index c9b4c72..d20458d 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -1,4 +1,4 @@
-{ self, unstable, ... } @ inputs:
+{ self, unstable, nixpkgs-invidious, ... } @ inputs:
 
 {
   alpha = self.lib.mkSystem {
@@ -29,5 +29,12 @@
       inputs.impermanence.nixosModules.impermanence
       inputs.attic.nixosModules.atticd
     ];
+    overlays = [
+      (final: prev: {
+        # TODO: https://github.com/NixOS/nixpkgs/pull/300643
+        inherit (nixpkgs-invidious.legacyPackages.x86_64-linux)
+          invidious;
+      })
+    ];
   };
 }