Blacklist k10temp on AMD Zen machines
This commit is contained in:
parent
5a4cde64ac
commit
dbc235cdbf
2 changed files with 13 additions and 4 deletions
|
@ -133,6 +133,9 @@
|
||||||
"zenpower"
|
"zenpower"
|
||||||
"nf_nat_ftp"
|
"nf_nat_ftp"
|
||||||
];
|
];
|
||||||
|
blacklistedKernelModules = [
|
||||||
|
"k10temp"
|
||||||
|
];
|
||||||
kernelParams = [ "amd_pstate.shared_mem=1" ];
|
kernelParams = [ "amd_pstate.shared_mem=1" ];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
cpupower
|
cpupower
|
||||||
|
|
|
@ -146,7 +146,6 @@
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_6_10;
|
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
|
@ -158,15 +157,22 @@
|
||||||
];
|
];
|
||||||
kernelModules = [ "dm-snapshot" ];
|
kernelModules = [ "dm-snapshot" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# NVIDIA driver is broken with Linux 6.11
|
||||||
|
kernelPackages = pkgs.linuxPackages_6_10;
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
"kvm-amd"
|
"kvm-amd"
|
||||||
"apple-mfi-fastcharge"
|
"apple-mfi-fastcharge"
|
||||||
"zenpower"
|
"zenpower"
|
||||||
];
|
];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
blacklistedKernelModules = [
|
||||||
zenpower
|
"k10temp"
|
||||||
cpupower
|
|
||||||
];
|
];
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
|
cpupower
|
||||||
|
zenpower
|
||||||
|
];
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue