From d2839a8d6b89ab77aeb16ce2e80f20c0abd8c7d4 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Mon, 17 Mar 2025 16:40:58 -0400 Subject: [PATCH] Update VM hardware configuration to use the latest kernel and change root device UUID --- hosts/nixos/vm/hardware.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/vm/hardware.nix b/hosts/nixos/vm/hardware.nix index a4033cd..d7c04b2 100644 --- a/hosts/nixos/vm/hardware.nix +++ b/hosts/nixos/vm/hardware.nix @@ -28,6 +28,9 @@ in timeout = 3; }; + # use latest kernel + kernelPackages = pkgs.linuxPackages_latest; + initrd = { availableKernelModules = [ "ahci" @@ -45,7 +48,7 @@ in fileSystems = { "/" = { - device = "/dev/disk/by-uuid/a0b82536-3087-410a-b283-60ea10811ef5"; + device = "/dev/disk/by-uuid/7ec7d686-6f4c-482f-8b9d-4337a06afc48"; fsType = "ext4"; };