This flake provides a Nix wrapper for the
intel-lpmd daemon.
- Add to flake.nix:
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
intel-lpmd-flake.url = "github:dmfrpro/intel-lpmd-flake";
intel-lpmd-flake.inputs.nixpkgs.follows = "nixpkgs";
};- Add to your module imports:
outputs = { self, nixpkgs, intel-lpmd-flake, ... }: {
nixosConfigurations.host = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
intel-lpmd-flake.nixosModules.default
];
};
};- Enable the service:
{
services.intel-lpmd = {
enable = true;
config.meteorLake = true; # meteorLake / lunarLake / pantherLake / experimental / custom
mode = "ON"; # ON / OFF / AUTO
debug = true;
};
}| Option | Type | Default | Description |
|---|---|---|---|
enable |
bool | false |
Enable the Intel lpmd service. |
debug |
bool | false |
Append --loglevel=debug to the daemon command line. |
mode |
"ON", "OFF", "AUTO" |
"AUTO" |
Control mode passed to intel_lpmd_control after daemon starts. |
config.meteorLake |
bool | false |
Use the predefined Meteor Lake XML config (intel_lpmd_config_F6_M170.xml). |
config.lunarLake |
bool | false |
Use the predefined Lunar Lake XML config (intel_lpmd_config_F6_M189.xml). |
config.pantherLake |
bool | false |
Use the predefined Panther Lake XML config (intel_lpmd_config_F6_M204.xml). |
config.experimental |
bool | false |
Use the predefined experimental XML config (experimental.xml). |
config.custom |
null or string | null |
Raw XML content for a custom configuration. When set, none of the predefined flags may be set. |