From dc39c3f1fe2ed580a5eb95911bddf3f91a194679 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 25 Sep 2025 23:54:28 +0200 Subject: [PATCH] fix: make `username` a `libvirtd` group member if `libvirtd` is enabled, as opposed to `waydroid` --- modules/core/virtualization.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/core/virtualization.nix b/modules/core/virtualization.nix index 94c40a7..601680b 100644 --- a/modules/core/virtualization.nix +++ b/modules/core/virtualization.nix @@ -12,6 +12,8 @@ libvirtd.enable = if (host == "violet") then true + else if (host == "dandelion") then + true else if (host == "sakura") then true else if (host == "yoshino") then @@ -36,7 +38,7 @@ # { }; users.groups.libvirtd.members = - if (config.virtualisation.waydroid.enable == true) then [ username ] else [ ]; + if (config.virtualisation.libvirtd.enable == true) then [ username ] else [ ]; # Enable qemu etc environment.systemPackages = with pkgs; [