mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
680004abdf
Signed-off-by: magic_rb <magic_rb@redalder.org>
23 lines
417 B
Nix
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;
|
|
};
|
|
}
|