dotfiles/nixos/systems/altra/hardware.nix
magic_rb 680004abdf
Unblock altra ZFS version
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-12-10 16:01:50 +01:00

23 lines
417 B
Nix

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