europa: disable tlp, switch to kvm-amd and clean up some commented stuff

This commit is contained in:
Aaron Bieber 2024-04-16 07:14:39 -06:00
parent fcd1d707f1
commit 9b3929f14b
No known key found for this signature in database
2 changed files with 1 additions and 18 deletions

View File

@ -200,17 +200,6 @@ in
password = "fake"; password = "fake";
}; };
}; };
power-profiles-daemon.enable = false;
tlp = {
enable = true;
settings = {
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
START_CHARGE_THRESH_BAT0 = 90;
STOP_CHARGE_THRESH_BAT0 = 97;
RUNTIME_PM_ON_BAT = "auto";
};
};
logind = { logind = {
lidSwitch = "suspend-then-hibernate"; lidSwitch = "suspend-then-hibernate";
lidSwitchExternalPower = "lock"; lidSwitchExternalPower = "lock";

View File

@ -9,7 +9,7 @@
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "usbhid" "sd_mod" ]; availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "usbhid" "sd_mod" ];
kernelModules = [ ]; kernelModules = [ ];
}; };
kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ]; extraModulePackages = [ ];
}; };
@ -38,13 +38,7 @@
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware = { hardware = {
#acpilight.enable = true;
bluetooth.enable = true; bluetooth.enable = true;
#cpu.intel.updateMicrocode =
# lib.mkDefault config.hardware.enableRedistributableFirmware;
#sensor = {
# iio.enable = true;
#};
rtl-sdr.enable = true; rtl-sdr.enable = true;
}; };
} }