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 = {
|
base = {
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
work = true;
|
work = true;
|
||||||
kernel = pkgs.linuxKernel.packages.linux_6_0;
|
kernel = pkgs.linuxKernel.packages.linux_6_1;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
|
@ -171,6 +171,7 @@
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
services.envfs.enable = true;
|
services.envfs.enable = true;
|
||||||
|
services.cpupower-gui.enable = true;
|
||||||
|
|
||||||
services.xserver.libinput = {
|
services.xserver.libinput = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
boot.kernelModules = [ "kvm-amd" "apple-mfi-fastcharge" "zenpower" ];
|
boot.kernelModules = [ "kvm-amd" "apple-mfi-fastcharge" "zenpower" ];
|
||||||
boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
|
# boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
|
||||||
boot.extraModulePackages = [ ] ++
|
boot.extraModulePackages = [ ] ++
|
||||||
(with config.boot.kernelPackages; [ rtl88x2bu zenpower ]);
|
(with config.boot.kernelPackages; [ rtl88x2bu zenpower cpupower ]);
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-label/nixos";
|
device = "/dev/disk/by-label/nixos";
|
||||||
|
@ -30,6 +30,7 @@
|
||||||
[{ device = "/dev/disk/by-label/swap"; }];
|
[{ device = "/dev/disk/by-label/swap"; }];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
video.hidpi.enable = true;
|
video.hidpi.enable = true;
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
|
|
Loading…
Reference in a new issue