From fa9bff88da4e6810e02c15acb9555ca238375d5c Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sun, 17 Aug 2025 14:08:13 +0200 Subject: [PATCH] chore: only enable virtualisation for hosts that require it --- modules/core/virtualization.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/core/virtualization.nix b/modules/core/virtualization.nix index eeca5d6..3ad3ae8 100644 --- a/modules/core/virtualization.nix +++ b/modules/core/virtualization.nix @@ -1,9 +1,17 @@ -{ pkgs, ... }: +{ pkgs, host, ... }: { virtualisation = { # vmware.host.enable = true; # Causes issues for now :p - waydroid.enable = true; - libvirtd.enable = true; + 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; spiceUSBRedirection.enable = true; };