Install packages needed to run amd_s2idle.
This commit is contained in:
parent
8b074617e8
commit
ead5db241e
@ -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 = [
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user