nix-config/hosts/mail/hardware-configuration.nix
Jordan Holt 0473348ad2
Some checks failed
Check flake / build-amd64-linux (push) Failing after 3m0s
Remove dead code
2025-01-19 12:58:39 +00:00

30 lines
437 B
Nix

{
modulesPath,
...
}:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot = {
initrd = {
availableKernelModules = [
"ata_piix"
"uhci_hcd"
"xen_blkfront"
"vmw_pvscsi"
];
kernelModules = [ "nvme" ];
};
loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
tmp.cleanOnBoot = true;
};
zramSwap.enable = true;
}