From 68ebd6e9a83d77d13d08b49d2c0ffc326be02266 Mon Sep 17 00:00:00 2001 From: CrazyChaoz Date: Thu, 16 Apr 2026 19:19:22 +0200 Subject: [PATCH] Update lnf/hardware-configuration.nix --- lnf/hardware-configuration.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/lnf/hardware-configuration.nix b/lnf/hardware-configuration.nix index 3578db9..c150740 100644 --- a/lnf/hardware-configuration.nix +++ b/lnf/hardware-configuration.nix @@ -5,20 +5,29 @@ { imports = - [ (modulesPath + "/profiles/qemu-guest.nix") + [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; + boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/88cc8a52-5a15-4782-a322-fe280fa0f7b8"; + { device = "/dev/disk/by-uuid/d75cdfc9-a9cf-4e68-8e63-4d3b1b461e53"; fsType = "ext4"; }; - swapDevices = [ ]; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/823A-2E6F"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/43be5938-80c6-411e-8917-f1ecc5145003"; } + ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }