qemu/libvirt belongs to the advanced menu, not the niri module

A clean-snapshot run showed qemu/virt-manager installed without choosing
it: PR #4 had embedded the install in the niri module. Removed from there
(zero virt packages in a plain niri run, harness-verified) and moved into
install_category_pkgs Virtualisation: picking qemu/virt-manager there now
also enables libvirtd and adds the user to the libvirt group.
This commit is contained in:
Pathfinder
2026-10-27 14:19:26 +01:00
parent eacceee296
commit dbf75d1239
2 changed files with 14 additions and 10 deletions
-10
View File
@@ -28,14 +28,4 @@ install_nerd_font JetBrainsMono
install_packages sddm
switch_display_manager sddm
# virt-manager/qemu:///system without password prompts: libvirt group +
# enabled daemon. Group membership applies to NEW sessions (re-login).
install_optional qemu-kvm libvirt virt-install virt-manager virt-viewer
if pkg_installed libvirt; then
info "Enabling libvirtd and adding $USER to the libvirt group..."
sudo systemctl enable --now libvirtd 2>/dev/null || true
sudo usermod -aG libvirt "$USER" || true
info "Group membership applies after re-login."
fi
ok "Niri setup complete. Log out and pick Niri in SDDM."