mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-16 07:59:41 +01:00
12 lines
322 B
Nix
12 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;
|
||
|
}
|