add tlp, jellyfin-mpv-shim

This commit is contained in:
Dmitriy Kholkin 2023-04-17 00:03:34 +03:00
parent 59d82ca5a9
commit 523e6d19a7
2 changed files with 14 additions and 0 deletions

View File

@ -41,6 +41,18 @@
# };
# };
services.tlp = {
enable = true;
settings = {
TLP_DEFAULT_MODE = "BAT";
TLP_PERSISTENT_DEFAULT = 1;
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
};
};
boot.kernelParams = [ "mem_sleep_default=deep" ];
home-manager.users.${config.mainuser} = {

View File

@ -60,6 +60,7 @@ with config.deviceSpecific; {
discord
# foliate
jellyfin-media-player
jellyfin-mpv-shim
joplin-desktop
# libreoffice
obs-studio
@ -101,6 +102,7 @@ with config.deviceSpecific; {
".config/chromium"
".config/deadbeef"
".config/discord"
".config/jellyfin-mpv-shim"
".config/jellyfin.org"
".config/joplin-desktop"
".config/kdeconnect"