32 lines
550 B
Nix
32 lines
550 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
boot.initrd.availableKernelModules = [
|
||
|
"ata_piix"
|
||
|
"uhci_hcd"
|
||
|
"virtio_pci"
|
||
|
"virtio_scsi"
|
||
|
"sd_mod"
|
||
|
"sr_mod"
|
||
|
];
|
||
|
boot.initrd.kernelModules = [ ];
|
||
|
boot.kernelModules = [ "dm-snapshot" ];
|
||
|
boot.extraModulePackages = [ ];
|
||
|
|
||
|
fileSystems."/" = {
|
||
|
device = "/dev/disk/by-label/nixos";
|
||
|
fsType = "ext4";
|
||
|
};
|
||
|
|
||
|
fileSystems."/boot" = {
|
||
|
device = "/dev/disk/by-label/BOOT";
|
||
|
fsType = "vfat";
|
||
|
};
|
||
|
|
||
|
swapDevices = [
|
||
|
{ device = "/dev/disk/by-label/swap"; }
|
||
|
];
|
||
|
|
||
|
services.qemuGuest.enable = true;
|
||
|
}
|