26 lines
546 B
Nix
26 lines
546 B
Nix
{ 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";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/d6bf7aad-cd46-458c-98e8-a321eb77858a";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
OMP_NUM_THREADS = "8";
|
|
};
|
|
}
|