feat: initial commit

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-02-05 16:19:15 +01:00
parent 6fe41c9723
commit 1054e3dbe4
Signed by: harald
GPG key ID: F519A1143B3FBE32
51 changed files with 3521 additions and 1 deletions

View file

@ -0,0 +1,10 @@
{ pkgs
, lib
, nixsgx
, ...
}:
pkgs.writeShellScriptBin "restart-aesmd" ''
${pkgs.coreutils}/bin/mkdir -p /var/run/aesmd
${pkgs.killall}/bin/killall -q aesm_service
exec ${nixsgx.sgx-psw}/bin/aesm_service --no-syslog
''