2025-08-17 14:08:13 +02:00
|
|
|
{ pkgs, host, ... }:
|
2023-11-05 11:40:44 +01:00
|
|
|
{
|
2025-04-14 09:24:35 +02:00
|
|
|
virtualisation = {
|
2025-05-05 16:45:12 +02:00
|
|
|
# vmware.host.enable = true; # Causes issues for now :p
|
2025-08-17 14:08:13 +02:00
|
|
|
waydroid.enable = if (host == "sakura") then true else false;
|
|
|
|
|
libvirtd.enable =
|
|
|
|
|
if (host == "violet") then
|
|
|
|
|
true
|
|
|
|
|
else if (host == "sakura") then
|
|
|
|
|
true
|
|
|
|
|
else if (host == "yoshino") then
|
|
|
|
|
true
|
|
|
|
|
else
|
|
|
|
|
false;
|
2025-05-05 16:45:12 +02:00
|
|
|
spiceUSBRedirection.enable = true;
|
2025-04-14 09:24:35 +02:00
|
|
|
};
|
2025-05-05 16:45:12 +02:00
|
|
|
|
|
|
|
|
programs.virt-manager.enable = true;
|
|
|
|
|
|
|
|
|
|
# Enable qemu etc
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
qemu
|
|
|
|
|
quickemu
|
|
|
|
|
];
|
2024-12-20 00:20:58 +01:00
|
|
|
}
|