From 437adced3637d95f985611d6dab3e51005ecb7c6 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 23 Jun 2025 22:01:47 -0700 Subject: [PATCH] cleanup --- etcnixos/common.nix | 20 ++------------------ etcnixos/system-mreow.nix | 33 +++++++++------------------------ 2 files changed, 11 insertions(+), 42 deletions(-) diff --git a/etcnixos/common.nix b/etcnixos/common.nix index 78258cc..15017e2 100644 --- a/etcnixos/common.nix +++ b/etcnixos/common.nix @@ -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 diff --git a/etcnixos/system-mreow.nix b/etcnixos/system-mreow.nix index 5a90133..231fc96 100644 --- a/etcnixos/system-mreow.nix +++ b/etcnixos/system-mreow.nix @@ -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