mirror of
https://github.com/SebastianWendel/srx-platform-nix.git
synced 2024-09-20 04:19:01 +02:00
22 lines
374 B
Nix
22 lines
374 B
Nix
|
{ modulesPath, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
initrd = {
|
||
|
availableKernelModules = [
|
||
|
"xhci_pci"
|
||
|
"virtio_scsi"
|
||
|
"sr_mod"
|
||
|
];
|
||
|
kernelModules = [ ];
|
||
|
};
|
||
|
loader.systemd-boot.enable = true;
|
||
|
zfs.devNodes = "/dev/disk/by-uuid";
|
||
|
};
|
||
|
|
||
|
services.qemuGuest.enable = true;
|
||
|
}
|