initial commit
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s

This commit is contained in:
sid 2026-02-23 20:34:35 +01:00
commit 95a533c876
451 changed files with 18255 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ pkgs, lib, ... }:
let
inherit (lib) mkDefault;
in
{
imports = [
./desktop.nix
../bluetooth
];
services.tlp = {
enable = mkDefault true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = mkDefault "performance";
CPU_SCALING_GOVERNOR_ON_BAT = mkDefault "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = mkDefault "power";
CPU_ENERGY_PERF_POLICY_ON_AC = mkDefault "performance";
PLATFORM_PROFILE_ON_AC = mkDefault "performance";
PLATFORM_PROFILE_ON_BAT = mkDefault "low-power";
START_CHARGE_THRESH_BAT0 = mkDefault 75;
STOP_CHARGE_THRESH_BAT0 = mkDefault 80;
};
};
# avoid conflicts with tlp
services.power-profiles-daemon.enable = mkDefault false;
environment.systemPackages = [ pkgs.powertop ];
}