From 6ea942ef659d3d36cb85a83e6a34a2412b417988 Mon Sep 17 00:00:00 2001 From: lew Date: Wed, 29 Apr 2026 14:07:48 +0100 Subject: [PATCH] upd8 hardware config --- hosts/lab/hardware-configuration.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/hosts/lab/hardware-configuration.nix b/hosts/lab/hardware-configuration.nix index 0971835..adf4610 100644 --- a/hosts/lab/hardware-configuration.nix +++ b/hosts/lab/hardware-configuration.nix @@ -1,6 +1,7 @@ { modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader = { efi.efiSysMountPoint = "/boot/efi"; grub = { @@ -9,8 +10,19 @@ device = "nodev"; }; }; - fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/3807-C85F"; fsType = "vfat"; }; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ]; - boot.initrd.kernelModules = [ "nvme" ]; - fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; + + boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" ]; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/948a7b46-a837-47d2-83a3-8a018bf6d4ad"; + fsType = "ext4"; + }; + + fileSystems."/boot/efi" = { + device = "/dev/disk/by-uuid/3807-C85F"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; }