Unblock altra ZFS version

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2023-12-10 16:01:50 +01:00
parent ffed2f4fd0
commit 680004abdf
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -3,7 +3,11 @@
inputs',
...
}: let
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages =
(pkgs.zfs.override {
removeLinuxDRM = pkgs.hostPlatform.isAarch64;
})
.latestCompatibleLinuxPackages;
in {
imports = [
(inputs'.nixpkgs + "/nixos/modules/profiles/qemu-guest.nix")
@ -13,5 +17,6 @@ in {
initrd.kernelModules = ["nvme"];
kernelPackages = kernelPackages;
zfs.enableUnstable = true;
zfs.removeLinuxDRM = true;
};
}