From 1d39c23d0b1c2cb820b82056f5a8e014894ac526 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Sun, 10 Dec 2023 15:28:06 +0100 Subject: [PATCH] Bump toothpicks kernel to latest Signed-off-by: magic_rb --- nixos/systems/toothpick/hardware.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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; + }; }