2022-11-19 20:00:54 +01:00
|
|
|
{ modulesPath, ... }: {
|
2022-03-01 22:19:03 +01:00
|
|
|
imports = [
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
];
|
2021-11-12 07:23:46 +01:00
|
|
|
|
2022-04-27 00:21:19 +02:00
|
|
|
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
|
|
|
boot.initrd.kernelModules = [ "kvm-amd" ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
2021-11-12 07:23:46 +01:00
|
|
|
|
2022-03-01 22:19:03 +01:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
2021-11-12 07:23:46 +01:00
|
|
|
|
2022-03-01 22:19:03 +01:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2021-11-12 07:23:46 +01:00
|
|
|
|
2022-04-27 00:21:19 +02:00
|
|
|
swapDevices = [{ device = "/dev/disk/by-label/swap"; }];
|
2021-11-12 07:23:46 +01:00
|
|
|
}
|