blob: 5ba8a644216a664d00e3f91f6f7de918f1df4519 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ config, pkgs, user, ... }:
{
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
libvirtd.enable = true;
virtualbox.host.enable = true;
};
users.users.${user}.extraGroups = [ "libvirtd" ];
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
}
|