2021-12-27 18:21:16 +00:00
|
|
|
modulesPath: {
|
|
|
|
physical = { lib, ... }: lib.mkMerge
|
2021-12-10 06:34:46 +00:00
|
|
|
[
|
|
|
|
(import "${modulesPath}/installer/scan/not-detected.nix" { inherit lib; })
|
|
|
|
{ hardware.cpu.amd.updateMicrocode = true; }
|
|
|
|
{ hardware.cpu.intel.updateMicrocode = true; }
|
|
|
|
];
|
|
|
|
|
2021-12-27 18:21:16 +00:00
|
|
|
qemu = { lib, ... }: lib.mkMerge
|
2021-12-10 06:34:46 +00:00
|
|
|
[
|
|
|
|
(import "${modulesPath}/profiles/qemu-guest.nix" { })
|
|
|
|
{ services.qemuGuest.enable = true; }
|
|
|
|
];
|
|
|
|
|
2021-12-27 18:21:16 +00:00
|
|
|
vmware = { lib, ... }: lib.mkMerge
|
2021-12-10 06:34:46 +00:00
|
|
|
[
|
|
|
|
{ virtualisation.vmware.guest.enable = true; }
|
|
|
|
{ boot.initrd.availableKernelModules = [ "mptspi" ]; }
|
|
|
|
];
|
|
|
|
}
|