edit Lenovo ThinkPad X200edit Overview
edit Manual configurationedit System Management Application Program InterfaceOn the ThinkPad X200 some system information is made available through the System Management Application Program Interface (SMAPI) instead of the Advanced Configuration and Power Interface (ACPI) or Advanced Power Management (APM). This mostly concernes more detailed battery and improved accellerometer information. For this to work you need to add tp_smapi to the boot.extraModulePackages option and also specify the tp_smapi module in boot.kernelModules in /etc/nixos/configuration.nix. boot.kernelModules = [ ... "tp_smapi" ]; boot.extraModulePackages = [ ... config.boot.kernelPackages.tp_smapi ]; Then rebuild your system using the nixos-rebuild command. You can find additional information about the tp_smapi module in the ThinkPad Wiki. edit Tips & Tricksedit Disable speakerAdd this to your /etc/nixos/configuration.nix. boot.blacklistedKernelModules = [ "pcspkr" ]; |