From 5f14933c33807c9f39ab74c6b1687feddd4dc949 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Oct 2013 14:40:16 +0200 Subject: [PATCH] Don't enable acpid for VirtualBox guests It's no longer needed for ACPI shutdown, since logind handles this now. --- nixos/modules/virtualisation/virtualbox-guest.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/virtualisation/virtualbox-guest.nix b/nixos/modules/virtualisation/virtualbox-guest.nix index e1a83cdecc2..664fd21781c 100644 --- a/nixos/modules/virtualisation/virtualbox-guest.nix +++ b/nixos/modules/virtualisation/virtualbox-guest.nix @@ -82,10 +82,6 @@ optionalAttrs (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) # ugly... # Allow systemd dependencies on vboxguest. KERNEL=="vboxguest", TAG+="systemd" ''; - - # Make the ACPI Shutdown command to do the right thing. - services.acpid.enable = true; - services.acpid.powerEventCommands = "poweroff"; }; }