cleanup
This commit is contained in:
parent
5fbbd9df03
commit
437adced36
@ -22,16 +22,6 @@
|
||||
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 = {
|
||||
# optimize the store
|
||||
optimise.automatic = true;
|
||||
@ -95,11 +85,10 @@
|
||||
# Enable CUPS to print documents.
|
||||
printing = {
|
||||
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;
|
||||
|
||||
# Making sure mullvad works on boot
|
||||
@ -211,11 +200,6 @@
|
||||
|
||||
# needed for home-manager
|
||||
git
|
||||
|
||||
home-manager
|
||||
|
||||
# https://github.com/chaotic-cx/nyx/issues/972
|
||||
# config.boot.kernelPackages.perf
|
||||
];
|
||||
|
||||
# wayland with electron/chromium applications
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user