summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-13 09:01:11 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-13 09:01:11 +0100
commit6e13e52d724098807613eeefe733f870823d4362 (patch)
tree4f91eebe7ef516824931b1b996f4440246ca73d8
parentba31496ec11ec48cc2c4f564fe054984ce614657 (diff)
downloadnixos-6e13e52d724098807613eeefe733f870823d4362.tar
nixos-6e13e52d724098807613eeefe733f870823d4362.tar.gz
nixos-6e13e52d724098807613eeefe733f870823d4362.tar.bz2
nixos-6e13e52d724098807613eeefe733f870823d4362.tar.xz
nixos-6e13e52d724098807613eeefe733f870823d4362.zip
...
-rw-r--r--overlays/zfs.nix11
-rw-r--r--user-profiles/yt-dlp.nix1
2 files changed, 12 insertions, 0 deletions
diff --git a/overlays/zfs.nix b/overlays/zfs.nix
new file mode 100644
index 00000000..b8b99f8e
--- /dev/null
+++ b/overlays/zfs.nix
@@ -0,0 +1,11 @@
1final: prev: {
2 linuxPackages_5_15 = prev.linuxPackages_latest.extend (self: super: {
3 zfsUnstable = prev.zfsUnstable.overrideAttrs (oldAttrs: {
4 meta = oldAttrs.meta // (assert (oldAttrs.src.outputHash == "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY="); rec {
5 broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16");
6 # latestCompatibleLinuxPackages = final.linuxPackages_5_15;
7 });
8 });
9 });
10 linuxPackages_latest = final.linuxPackages_5_15;
11}
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix
index 288bba14..a7f1ce3b 100644
--- a/user-profiles/yt-dlp.nix
+++ b/user-profiles/yt-dlp.nix
@@ -13,6 +13,7 @@
13 --sub-langs all,-live_chat 13 --sub-langs all,-live_chat
14 --prefer-free-formats 14 --prefer-free-formats
15 --embed-metadata 15 --embed-metadata
16 --downloader ${pkgs.aria2}/bin/aria2c
16 ''; 17 '';
17 }; 18 };
18} 19}