Install packages needed to run amd_s2idle.

This commit is contained in:
Tom Alexander 2025-01-07 23:02:22 -05:00
parent 8b074617e8
commit ead5db241e
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 9 additions and 1 deletions

View File

@ -24,6 +24,9 @@
"pcie_aspm=force" "pcie_aspm=force"
"pcie_aspm.policy=powersupersave" "pcie_aspm.policy=powersupersave"
"nowatchdog" "nowatchdog"
# I don't see a measurable benefit from these two:
# "cpufreq.default_governor=powersave"
# "initcall_blacklist=cpufreq_gov_userspace_init"
]; ];
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [

View File

@ -9,7 +9,12 @@
imports = [ ]; imports = [ ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
python3 (python3.withPackages (python-pkgs: [
python-pkgs.distro # For https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
python-pkgs.pyudev # For https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
python-pkgs.systemd # For https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
python-pkgs.packaging # For https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
]))
poetry poetry
pyright pyright
isort isort