Don't enable acpid for VirtualBox guests
It's no longer needed for ACPI shutdown, since logind handles this now.
This commit is contained in:
parent
ad0568e64a
commit
5f14933c33
@ -82,10 +82,6 @@ optionalAttrs (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) # ugly...
|
|||||||
# Allow systemd dependencies on vboxguest.
|
# Allow systemd dependencies on vboxguest.
|
||||||
KERNEL=="vboxguest", TAG+="systemd"
|
KERNEL=="vboxguest", TAG+="systemd"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Make the ACPI Shutdown command to do the right thing.
|
|
||||||
services.acpid.enable = true;
|
|
||||||
services.acpid.powerEventCommands = "poweroff";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user