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