full restructure

This commit is contained in:
Bart van der Braak 2025-01-15 01:15:34 +01:00
parent af4429982d
commit 8dd28119e7
74 changed files with 921 additions and 3490 deletions

16
nixos/modules/battery.nix Normal file
View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
services.power-profiles-daemon.enable = false;
services.thermald.enable = true;
services.tlp = {
enable = true;
settings = {
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
};
};
}