nixos/security/misc: expose l1tf mitigation option
For the hardened profile enable flushing whenever the hypervisor enters the guest, but otherwise leave at kernel default (conditional flushing as of writing).
This commit is contained in:
@@ -22,6 +22,8 @@ with lib;
|
||||
|
||||
security.protectKernelImage = mkDefault true;
|
||||
|
||||
security.virtualization.flushL1DataCache = mkDefault "always";
|
||||
|
||||
security.apparmor.enable = mkDefault true;
|
||||
|
||||
boot.kernelParams = [
|
||||
|
||||
Reference in New Issue
Block a user