[Hardware] Remove redundant configuration

This commit is contained in:
Antoine Viallon 2023-05-06 23:22:44 +02:00
parent 1f0f8ba399
commit 43aab48b1e
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -15,14 +15,6 @@ in
./mesa.nix
];
config = {
boot.kernel.sysctl = {
# Why: https://www.phoronix.com/news/Ryzen-Segv-Response
# Workaround: https://forums.gentoo.org/viewtopic-p-2605135.html#2605135
"kernel.randomize_va_space" = mkIf (generalCfg.cpuVendor == "amd" && generalCfg.cpuArch == "znver1" ) (warn "Disable Adress Space Layout Randomization on Ryzen 1 CPU" 0);
};
};
config = {};
}