diff --git a/nixos/systems/toothpick/hardware.nix b/nixos/systems/toothpick/hardware.nix index 851e51b..5cd5068 100644 --- a/nixos/systems/toothpick/hardware.nix +++ b/nixos/systems/toothpick/hardware.nix @@ -1,8 +1,16 @@ -{ inputs', ... }: { + pkgs, + inputs', + ... +}: let + kernelPackages = pkgs.linuxPackages_latest; +in { imports = [ (inputs'.nixpkgs + "/nixos/modules/profiles/qemu-guest.nix") ]; - boot.initrd.kernelModules = ["nvme"]; + boot = { + initrd.kernelModules = ["nvme"]; + kernelPackages = kernelPackages; + }; }