summaryrefslogtreecommitdiffstats
path: root/modules/lass/virtualbox.nix
blob: bd57077b7a0e18bf91b7bac41d4b8de8d657e790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, pkgs, ... }:

{
  services.virtualboxHost.enable = true;

  users.extraUsers = {
    virtual = {
      name = "virtual";
      description = "user for running VirtualBox";
      home = "/home/virtual";
      useDefaultShell = true;
      extraGroups = [ "vboxusers" ];
      createHome = true;
    };
  };
}