This commit is contained in:
2025-06-23 22:01:47 -07:00
parent 5fbbd9df03
commit 437adced36
2 changed files with 11 additions and 42 deletions

View File

@@ -15,35 +15,19 @@
inputs.lanzaboote.nixosModules.lanzaboote
];
# hardware.framework.laptop13.audioEnhancement = {
# enable = true;
# completely and utterly broken
/*
hardware.framework.laptop13.audioEnhancement = {
enable = true;
# # seems audio doesn't work without this
# hideRawDevice = false;
# };
#
# seems audio doesn't work without this
hideRawDevice = false;
};
*/
# PST
time.timeZone = lib.mkForce "America/Los_Angeles";
services.tlp = {
enable = false;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_AC = "default";
PCIE_ASPM_ON_BAT = "powersupersave";
PCIE_ASPM_ON_AC = "default";
PLATFORM_PROFILE_ON_BAT = "low-power";
PLATFORM_PROFILE_ON_AC = "balanced";
};
};
services.power-profiles-daemon.enable = true;
services.greetd = {
enable = true;
settings = {
@@ -75,6 +59,7 @@
system.activationScripts = {
# extract all my secureboot keys
# TODO! proper secrets management
"secureboot-keys".text = ''
#!/bin/sh
rm -fr ${config.boot.lanzaboote.pkiBundle} || true