grimm-nixos-laptop/specific/grimmauld-nixos-server/hardware-configuration.nix

26 lines
546 B
Nix
Raw Normal View History

2024-05-08 21:49:37 +02:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
2024-05-08 21:50:08 +02:00
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"xen_blkfront"
"vmw_pvscsi"
];
2024-05-08 21:49:37 +02:00
boot.initrd.kernelModules = [ "nvme" ];
2024-05-08 21:50:08 +02:00
fileSystems."/" = {
device = "/dev/sda3";
fsType = "ext4";
};
2024-05-08 21:49:37 +02:00
2024-09-28 22:09:24 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/d6bf7aad-cd46-458c-98e8-a321eb77858a";
fsType = "ext4";
};
2024-05-08 21:49:37 +02:00
environment.sessionVariables = {
OMP_NUM_THREADS = "8";
};
}