diff --git a/lenovo/thinkpad/general.nix b/lenovo/thinkpad/general.nix index 7b6e8eb..0c0e925 100644 --- a/lenovo/thinkpad/general.nix +++ b/lenovo/thinkpad/general.nix @@ -17,4 +17,6 @@ with lib; }; environment.systemPackages = [ pkgs.acpi ]; + + sound.enableMediaKeys = true; } diff --git a/lenovo/thinkpad/x140e.nix b/lenovo/thinkpad/x140e.nix index 897d473..df1f7f3 100644 --- a/lenovo/thinkpad/x140e.nix +++ b/lenovo/thinkpad/x140e.nix @@ -16,7 +16,4 @@ # video card services.xserver.videoDrivers = ["ati"]; - - # media keys - sound.enableMediaKeys = true; } diff --git a/lenovo/thinkpad/x220i-tablet.nix b/lenovo/thinkpad/x220i-tablet.nix index 65a4a3d..c87df3f 100644 --- a/lenovo/thinkpad/x220i-tablet.nix +++ b/lenovo/thinkpad/x220i-tablet.nix @@ -14,9 +14,6 @@ # hard disk protection if the laptop falls services.hdapsd.enable = true; - # enable volume control buttons - sound.enableMediaKeys = true; - # fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`) #services.fprintd.enable = true; #security.pam.services.login.fprintAuth = true;