diff options
Diffstat (limited to 'modules/system/thinkpad.nix')
-rw-r--r-- | modules/system/thinkpad.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/modules/system/thinkpad.nix b/modules/system/thinkpad.nix deleted file mode 100644 index 025ce760..00000000 --- a/modules/system/thinkpad.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, config, pkgs, ... }: - -with lib; - -let - cfg = config.vuizvui.hardware.thinkpad; - -in -{ - options.vuizvui.hardware.thinkpad = { - enable = mkEnableOption "thinkpad support"; - }; - - config = mkIf cfg.enable { - # read acpi stats (e.g. battery) - environment.systemPackages = [ pkgs.acpi ]; - - # for wifi - hardware.enableAllFirmware = true; - - hardware.trackpoint = { - enable = true; - emulateWheel = true; - speed = 250; - sensitivity = 140; - }; - - # TLP Linux Advanced Power Management - services.tlp.enable = true; - }; -} |