Clean up & revise hardware-configuration comments
This commit is contained in:
parent
a0b65fdb9a
commit
b8e4813f09
|
@ -10,9 +10,8 @@
|
|||
kernelModules = [ "kvm-amd" ];
|
||||
kernelParams = [
|
||||
# HACK Disables fixes for spectre, meltdown, L1TF and a number of CPU
|
||||
# vulnerabilities. This is not a good idea for mission critical or
|
||||
# server/headless builds, but on my lonely home system I prioritize
|
||||
# raw performance over security. The gains are minor.
|
||||
# vulnerabilities. Don't copy this blindly! And especially not for
|
||||
# mission critical or server/headless builds exposed to the world.
|
||||
"mitigations=off"
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, inputs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
|
@ -14,11 +11,12 @@
|
|||
initrd.kernelModules = [ "dm-snapshot" ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
extraModulePackages = [ ];
|
||||
kernelParams = [
|
||||
# HACK Disables fixes for spectre, meltdown, L1TF and a number of CPU
|
||||
# vulnerabilities. This is not a good idea for mission critical or
|
||||
# server/headless builds, but Kuro isn't either. I'll prioritize raw
|
||||
# performance over security here, though the gains are minor.
|
||||
kernelParams = [ "mitigations=off" ];
|
||||
# vulnerabilities. Don't copy this blindly! And especially not for
|
||||
# mission critical or server/headless builds exposed to the world.
|
||||
"mitigations=off"
|
||||
];
|
||||
};
|
||||
|
||||
# Modules
|
||||
|
|
Loading…
Reference in a new issue