nixos-config/nixos/hosts/reisen-nrt0/hardware-configuration.nix

21 lines
332 B
Nix
Raw Normal View History

2024-12-15 18:29:58 +08:00
{ modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
};
}