Update mimir to Linux 6.1, power management tweaks
This commit is contained in:
parent
54b1d8c505
commit
a5a06a7070
2 changed files with 5 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
|||
base = {
|
||||
plymouth.enable = true;
|
||||
work = true;
|
||||
kernel = pkgs.linuxKernel.packages.linux_6_0;
|
||||
kernel = pkgs.linuxKernel.packages.linux_6_1;
|
||||
};
|
||||
|
||||
desktop = {
|
||||
|
@ -171,6 +171,7 @@
|
|||
programs.ssh.startAgent = true;
|
||||
|
||||
services.envfs.enable = true;
|
||||
services.cpupower-gui.enable = true;
|
||||
|
||||
services.xserver.libinput = {
|
||||
enable = true;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||
boot.kernelModules = [ "kvm-amd" "apple-mfi-fastcharge" "zenpower" ];
|
||||
boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
|
||||
# boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
|
||||
boot.extraModulePackages = [ ] ++
|
||||
(with config.boot.kernelPackages; [ rtl88x2bu zenpower ]);
|
||||
(with config.boot.kernelPackages; [ rtl88x2bu zenpower cpupower ]);
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
|
@ -30,6 +30,7 @@
|
|||
[{ device = "/dev/disk/by-label/swap"; }];
|
||||
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
|
||||
hardware = {
|
||||
video.hidpi.enable = true;
|
||||
enableAllFirmware = true;
|
||||
|
|
Loading…
Reference in a new issue