dotfiles/nixos/systems/altra/hardware.nix

23 lines
417 B
Nix
Raw Normal View History

{
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;
};
}