Enable TPM2 security in x86_64-linux SGX hardware configuration
The commit turns on the TPM2 security feature and its associated Access Broker and Resource Manager daemon (abrmd) in the hardware configuration for the x86_64-linux SGX system. This action, represented by changing the respective entries from false to true, enhances the security of this system configuration.
This commit is contained in:
parent
4066b0cd80
commit
d5287f242e
|
@ -4,8 +4,7 @@
|
||||||
{ pkgs, config, lib, modulesPath, ... }:
|
{ pkgs, config, lib, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -80,7 +79,7 @@
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
security.tpm2.enable = false;
|
security.tpm2.enable = true;
|
||||||
security.tpm2.abrmd.enable = false;
|
security.tpm2.abrmd.enable = true;
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue