sgx: enable working aesm with normal dcap
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
ab7be188fc
commit
0b9fb35062
|
@ -33,7 +33,17 @@ in
|
||||||
security.tpm2.enable = false;
|
security.tpm2.enable = false;
|
||||||
security.tpm2.abrmd.enable = false;
|
security.tpm2.abrmd.enable = false;
|
||||||
|
|
||||||
# services.aesmd.enable = true;
|
services.aesmd = {
|
||||||
|
enable = true;
|
||||||
|
quoteProviderLibrary = pkgs.nixsgx.sgx-dcap.default_qpl;
|
||||||
|
};
|
||||||
|
systemd.services.aesmd = {
|
||||||
|
environment.LD_LIBRARY_PATH = lib.mkForce (lib.makeLibraryPath [ pkgs.nixsgx.sgx-dcap.default_qpl pkgs.curl.out ]);
|
||||||
|
serviceConfig.BindReadOnlyPaths = [
|
||||||
|
"/etc/sgx_default_qcnl.conf"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
|
Loading…
Reference in a new issue