mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-18 23:59:45 +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;
|
||
|
}
|