From 36f05dc63a0a7202587fe591d4ac4b20126a3a67 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 25 Aug 2024 18:00:05 +0000 Subject: [PATCH] nixosCfg.x13yz: add reasonings to additional kernel modules --- flake.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index e178e1d..c2c5b96 100644 --- a/flake.nix +++ b/flake.nix @@ -129,13 +129,17 @@ boot = { initrd = { availableKernelModules = [ - "nvme" - "rtsx_pci_sdmmc" - "xhci_pci" + "nvme" # nvme (probably required for booting) + "rtsx_pci_sdmmc" # probably for SD card (required for booting?) + "xhci_pci" # for USB 3.0 (required for booting?) + ]; + kernelModules = [ + "dm-snapshot" # pseudo-required for LVM ]; - kernelModules = [ "dm-snapshot" ]; }; - kernelModules = [ "kvm-intel" ]; + kernelModules = [ + "kvm-intel" # do not know if that is required here? + ]; }; } inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x13-yoga