1
1
Fork 0
nixos-configs/machine/centroid/hardware-configuration.nix

15 lines
526 B
Nix
Raw Normal View History

2024-01-18 22:55:55 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
fileSystems."/boot" = { device = "/dev/disk/by-uuid/5D60-DD0E"; fsType = "vfat"; };
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda4"; fsType = "ext4"; };
swapDevices = [ { device = "/dev/sda3"; } ];
}