NixOS-Config/nixos/queen/hardware-configuration.nix

13 lines
426 B
Nix
Raw Normal View History

2023-11-21 14:55:19 +01:00
{modulesPath, ...}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
boot.initrd.kernelModules = ["nvme"];
fileSystems."/" = {
device = "/dev/sda3";
fsType = "ext4";
};
swapDevices = [{device = "/dev/sda2";}];
2023-11-21 15:04:07 +01:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2023-11-20 16:14:05 +01:00
}