From 843357e9ab8d9767edff12ae0c385b8f6ec73110 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Sun, 10 Dec 2023 15:28:28 +0100 Subject: [PATCH] Bump altra's kernel to latest Signed-off-by: magic_rb --- nixos/systems/altra/hardware.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nixos/systems/altra/hardware.nix b/nixos/systems/altra/hardware.nix index 851e51b..b1119c4 100644 --- a/nixos/systems/altra/hardware.nix +++ b/nixos/systems/altra/hardware.nix @@ -1,8 +1,17 @@ -{ 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; + zfs.enableUnstable = true; + }; }