* Make the ACPI Shutdown command in VirtualBox to do the right thing.
svn path=/nixos/trunk/; revision=34473
This commit is contained in:
parent
a257bf78cb
commit
a3118792a5
@ -74,6 +74,9 @@ if (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
|
|||||||
KERNEL=="vboxuser", OWNER="root", GROUP="root", MODE="0666"
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user