flake/systems/vesuvio/hardware-configuration.nix

27 lines
509 B
Nix
Raw Normal View History

2024-03-24 14:02:03 +01:00
{modulesPath, ...}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot = {
loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
initrd = {
availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"];
kernelModules = ["nvme"];
};
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6FB6-65E7";
fsType = "vfat";
};
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
}