Add virtualbox module
This commit is contained in:
parent
cfc2931664
commit
c06ec73de5
1 changed files with 17 additions and 0 deletions
17
nixos/modules/apps/virtualbox/default.nix
Normal file
17
nixos/modules/apps/virtualbox/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
|
||||
virtualisation.virtualbox = {
|
||||
host = {
|
||||
enable = true;
|
||||
enableExtensionPack = true;
|
||||
};
|
||||
guest = {
|
||||
enable = true;
|
||||
x11 = true;
|
||||
};
|
||||
};
|
||||
users.extraGroups.vboxusers.members = [
|
||||
"user-with-access-to-virtualbox"
|
||||
];
|
||||
|
||||
}
|
Loading…
Reference in a new issue