Add Kodi package and refactor power savings configuration

- Add Kodi package to Citadel's home manager configuration
- Remove power savings configuration from Citadel's default configuration
- Create new optional powersave configuration file for common hosts
This commit is contained in:
Sam 2024-11-26 20:25:11 +00:00
parent 4700d9ecd5
commit 37210af3b9
3 changed files with 17 additions and 16 deletions

View File

@ -13,6 +13,7 @@
./common/optional/desktop/common/themes/standard-dark.nix
./common/optional/notes.nix
./common/optional/yazi.nix
./common/optional/desktop/common/kodi.nix
];
home.packages = [

View File

@ -108,22 +108,6 @@ in {
XCURSOR_SIZE = "64";
};
environment.systemPackages = [
pkgs.linuxKernel.packages.linux_zen.cpupower
pkgs.lm_sensors
];
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "ondemand";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
START_CHARGE_THRESH_BAT0 = 60;
STOP_CHARGE_THRESH_BAT0 = 85;
};
};
hardware = {
bluetooth = {
enable = true;

View File

@ -0,0 +1,16 @@
{pkgs, ...}: {
environment.systemPackages = [
pkgs.linuxKernel.packages.linux_zen.cpupower
pkgs.lm_sensors
];
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "ondemand";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
START_CHARGE_THRESH_BAT0 = 60;
STOP_CHARGE_THRESH_BAT0 = 85;
};
};
}