about summary refs log blame commit diff
path: root/hardware/thinkpad/default.nix
blob: adc15199f55dffe19fcb15c9a9779e26910600dc (plain) (tree)
1
2
3
4
5
6
7
8
9
              
 





                            
 






                         



                                           


                                           
               
          
         
    
 
 
{ pkgs, ... }:
{
  imports = [
    ./hardware.nix

    ../../modules/power-save
    ../../modules/bluetooth
  ];

  # nvramtool settings:
  #
  # fn_ctrl_swap = Enable
  # wwan = Disable
  # me_state = Disable
  # gfx_uma_size = 128M

  # ectool battery threshold setting (84%):
  #
  # ectool -w 0xb1 -z 0x54

  environment.systemPackages = with pkgs; [
    flashrom
    nvramtool
    intelmetool
    ectool
    cbmem
  ];

}