This commit is contained in:
Simon Gardling 2025-06-23 22:01:47 -07:00
parent 5fbbd9df03
commit 437adced36
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 11 additions and 42 deletions

View File

@ -22,16 +22,6 @@
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
]; ];
# I think this was causing the weird kworker freezing issue??
services.fstrim.enable = false;
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
];
};
nix = { nix = {
# optimize the store # optimize the store
optimise.automatic = true; optimise.automatic = true;
@ -95,11 +85,10 @@
# Enable CUPS to print documents. # Enable CUPS to print documents.
printing = { printing = {
enable = true; enable = true;
# disabled, build broken drivers = with pkgs; [ hplip ];
# drivers = with pkgs; [ hplip ];
}; };
# disable fprintd (doesn't compile, idk) # I don't want fingerprint login
fprintd.enable = false; fprintd.enable = false;
# Making sure mullvad works on boot # Making sure mullvad works on boot
@ -211,11 +200,6 @@
# needed for home-manager # needed for home-manager
git git
home-manager
# https://github.com/chaotic-cx/nyx/issues/972
# config.boot.kernelPackages.perf
]; ];
# wayland with electron/chromium applications # wayland with electron/chromium applications

View File

@ -15,35 +15,19 @@
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
]; ];
# hardware.framework.laptop13.audioEnhancement = { # completely and utterly broken
# enable = true; /*
hardware.framework.laptop13.audioEnhancement = {
enable = true;
# # seems audio doesn't work without this # seems audio doesn't work without this
# hideRawDevice = false; hideRawDevice = false;
# }; };
# */
# PST # PST
time.timeZone = lib.mkForce "America/Los_Angeles"; 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 = { services.greetd = {
enable = true; enable = true;
settings = { settings = {
@ -75,6 +59,7 @@
system.activationScripts = { system.activationScripts = {
# extract all my secureboot keys # extract all my secureboot keys
# TODO! proper secrets management
"secureboot-keys".text = '' "secureboot-keys".text = ''
#!/bin/sh #!/bin/sh
rm -fr ${config.boot.lanzaboote.pkiBundle} || true rm -fr ${config.boot.lanzaboote.pkiBundle} || true