2023-05-11 20:23:01 +00:00
|
|
|
{ modulesPath, ... }:
|
|
|
|
{
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2023-05-11 20:43:45 +00:00
|
|
|
fileSystems."/var/www/mirror" = {
|
|
|
|
device = "/dev/disk/by-label/data";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2023-05-11 20:23:01 +00:00
|
|
|
services.qemuGuest.enable = true;
|
|
|
|
}
|