Fix disks id and netowork config

This commit is contained in:
aloslider
2026-04-12 17:50:35 +03:00
parent 6a3ff12527
commit 6ea769417b
3 changed files with 28 additions and 24 deletions
+6 -5
View File
@@ -6,15 +6,16 @@
}:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
"nvme"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
@@ -22,7 +23,7 @@
# hdd
fileSystems."/mnt/data" = {
device = "/dev/disk/by-label/data";
device = "/dev/disk/by-id/ata-WDC_WD20EFPX-68C4TN0_WD-WX32DA423Z41";
fsType = "ext4";
options = [
"noatime"