Automatically add admin users to libvirtd group

This commit is contained in:
Tim Schubert 2022-04-03 18:46:31 +02:00
parent 9ca35af57c
commit 71d33dcb70
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 5 additions and 2 deletions

View file

@ -36,7 +36,10 @@ in
users.users = mapAttrs
(user: keys: (
{
extraGroups = [ "wheel" ];
extraGroups = [
"wheel"
"libvirtd"
];
isNormalUser = true;
openssh.authorizedKeys.keyFiles = keys;
}))

View file

@ -61,5 +61,5 @@ with lib;
alsa.support32Bit = true;
pulse.enable = true;
};
hardware.pulseaudio.enable = false;
}