Add virtualbox module
This commit is contained in:
parent
b2f76661ba
commit
d48e0cf6c9
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