feat: add power management service

This commit is contained in:
Ryan Yin
2026-01-03 20:09:39 +08:00
parent 94e431abfc
commit 847adc7d63
3 changed files with 19 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ in
# disable sunshine for securrity
services.sunshine.enable = lib.mkForce false;
services.tuned.ppdSettings.main.default = lib.mkForce "power-saver";
networking = {
inherit hostName;

View File

@@ -25,6 +25,7 @@ in
];
services.sunshine.enable = lib.mkForce true;
services.tuned.ppdSettings.main.default = lib.mkForce "performance";
networking = {
inherit hostName;