mirror of
https://github.com/SebastianWendel/srx-platform-nix.git
synced 2024-09-19 20:09:02 +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;
|
|
}
|