init commit, ly, i3, polybar, neovim, alacritty, NixOS Flakes + Home-Manager

This commit is contained in:
2026-07-16 00:05:44 -06:00
commit d1e1c5b60c
34 changed files with 1395 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{ config, pkgs, ... }:
{
boot.kernelParams = [ "mem_sleep_default=deep" ];
services.power-profiles-daemon.enable = false;
services.tlp = {
enable = true;
settings = {
USB_AUTOSUSPEND = 0;
# AC
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
SOUND_POWER_SAVE_ON_AC = 0;
PCIE_ASPM_ON_AC = "default";
CPU_BOOST_ON_BAT = 0;
# Battery
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
SOUND_POWER_SAVE_ON_BAT = 1;
PCIE_ASPM_ON_BAT = "powersupersave";
CPU_BOOST_ON_AC = 1;
# Battery Thresholds
START_CHARGE_THRESH_BAT0 = 40;
STOP_CHARGE_THRESH_BAT0 = 80;
};
};
}