mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-24 18:49:45 +01:00
11 lines
322 B
Nix
11 lines
322 B
Nix
{ lib, ... }: {
|
|
imports = [
|
|
../../../common/cpu/amd
|
|
../../../common/cpu/amd/pstate.nix
|
|
../../../common/gpu/amd
|
|
];
|
|
|
|
# AMD has better battery life with PPD over TLP:
|
|
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
|
services.power-profiles-daemon.enable = lib.mkDefault true;
|
|
}
|