upd8 hardware config

This commit is contained in:
Lewis Wynne 2026-04-29 14:07:48 +01:00
parent f16a512252
commit 6ea942ef65

View file

@ -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 = [ ];
}