From 11af465bd1a007841b02625367576ac759118484 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 26 Aug 2024 21:19:14 +0800 Subject: [PATCH] chore(modules/nixos/desktop): disable libvirtd & lxd, I'm not using them --- modules/nixos/desktop/virtualisation.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/nixos/desktop/virtualisation.nix b/modules/nixos/desktop/virtualisation.nix index cfd4cef6..53aead6b 100644 --- a/modules/nixos/desktop/virtualisation.nix +++ b/modules/nixos/desktop/virtualisation.nix @@ -32,19 +32,21 @@ enableOnBoot = true; }; - libvirtd = { - enable = true; - # hanging this option to false may cause file permission issues for existing guests. - # To fix these, manually change ownership of affected files in /var/lib/libvirt/qemu to qemu-libvirtd. - qemu.runAsRoot = true; - }; waydroid.enable = true; - lxd.enable = true; + + # libvirtd = { + # enable = true; + # # hanging this option to false may cause file permission issues for existing guests. + # # To fix these, manually change ownership of affected files in /var/lib/libvirt/qemu to qemu-libvirtd. + # qemu.runAsRoot = true; + # }; + + # lxd.enable = true; }; environment.systemPackages = with pkgs; [ # Need to add [File (in the menu bar) -> Add connection] when start for the first time - virt-manager + # virt-manager # QEMU/KVM(HostCpuOnly), provides: # qemu-storage-daemon qemu-edid qemu-ga