dotfiles/entropy/nixos/modules/virtualisation.nix

20 lines
513 B
Nix
Raw Normal View History

2023-08-28 12:52:33 +00:00
{ config, pkgs, unstable, ... }:
2021-11-18 18:04:41 +00:00
{
# set up virtualization with virtualbox
2023-08-28 12:52:33 +00:00
virtualisation.virtualbox.host = {
enable = true;
package = unstable.virtualbox;
};
2021-11-18 18:04:41 +00:00
# I'm gonna keep this disabled for the sake of my sanity
# virtualisation.virtualbox.host.enableExtensionPack = true;
# enable docker on-demand
virtualisation.docker.enable = true;
virtualisation.docker.enableOnBoot = false;
users.extraGroups = {
docker.members = [ "felix" ];
vboxusers.members = [ "felix" ];
};
}