update hardware-configuration.nix

This commit is contained in:
Odweta
2026-01-19 14:54:57 +00:00
parent 876d61fdff
commit 7f1dde8e06
2 changed files with 41 additions and 5 deletions
+5 -5
View File
@@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "uas" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "fuse" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
@@ -17,16 +17,16 @@
'';
fileSystems."/" =
{ device = "/dev/mapper/luks-92ca99f5-755f-4b98-b20f-ef9264f854fa";
{ device = "/dev/mapper/cryptroot";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-92ca99f5-755f-4b98-b20f-ef9264f854fa".device = "/dev/disk/by-uuid/92ca99f5-755f-4b98-b20f-ef9264f854fa";
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/eeefc2ad-d615-469e-80d5-e14c238116f5";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5C09-A76A";
{ device = "/dev/disk/by-uuid/2F02-3D7D";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];