mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-07-16 22:21:55 +08:00
fix: also add user to qemu-libvirtd
This commit is contained in:
parent
465bde1b98
commit
fd1e79eb56
1 changed files with 3 additions and 0 deletions
|
|
@ -46,6 +46,9 @@
|
|||
users.groups.libvirtd.members =
|
||||
if (config.virtualisation.libvirtd.enable == true) then [ username ] else [ ];
|
||||
|
||||
users.groups.qemu-libvirtd.members =
|
||||
if (config.virtualisation.libvirtd.enable == true) then [ username ] else [ ];
|
||||
|
||||
# Enable qemu etc
|
||||
environment.systemPackages = with pkgs; [
|
||||
qemu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue