stockholm/modules/lass/virtualbox.nix
2015-05-19 23:17:19 +02:00

17 lines
318 B
Nix

{ 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;
};
};
}