mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-24 22:56:29 +00:00
19 lines
513 B
Nix
19 lines
513 B
Nix
{ config, pkgs, unstable, ... }:
|
|
|
|
{
|
|
# set up virtualization with virtualbox
|
|
virtualisation.virtualbox.host = {
|
|
enable = true;
|
|
package = unstable.virtualbox;
|
|
};
|
|
# 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" ];
|
|
};
|
|
}
|