Merge remote-tracking branch 'origin/main'

This commit is contained in:
Daniel Flanagan 2023-11-21 10:06:25 -06:00
commit ceace24dae
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -26,6 +26,8 @@
# TODO: hibernation? does sleep suffice? # TODO: hibernation? does sleep suffice?
hardware.wirelessRegulatoryDatabase = true;
boot = { boot = {
loader = { loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
@ -41,6 +43,9 @@
]; ];
initrd.availableKernelModules = ["xhci_pci" "nvme" "thunderbolt"]; initrd.availableKernelModules = ["xhci_pci" "nvme" "thunderbolt"];
kernelModules = ["kvm-amd"]; kernelModules = ["kvm-amd"];
extraModprobeConfig = ''
options cfg80211 ieee80211_regdom="US"
'';
}; };
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
@ -50,6 +55,9 @@
# tod.enable = true; # tod.enable = true;
# tod.driver = pkgs.libfprint-2-tod1-goodix; # tod.driver = pkgs.libfprint-2-tod1-goodix;
}; };
services.power-profiles-daemon = {
enable = true;
};
services.tlp = { services.tlp = {
enable = false; enable = false;
settings = { settings = {