* Make the ACPI Shutdown command in VirtualBox to do the right thing.

svn path=/nixos/trunk/; revision=34473
This commit is contained in:
Eelco Dolstra 2012-06-11 22:37:55 +00:00
parent a257bf78cb
commit a3118792a5

View File

@ -74,6 +74,9 @@ if (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
KERNEL=="vboxuser", OWNER="root", GROUP="root", MODE="0666"
'';
# Make the ACPI Shutdown command to do the right thing.
services.acpid.enable = true;
services.acpid.powerEventCommands = "poweroff";
};
}