steveej-nuc7pjyh-work: sgx group for accessing /dev/sgx

This commit is contained in:
steveej 2019-12-13 20:51:13 +01:00
parent 44acf1fe44
commit 99ed0a4e82
2 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ in {
uid = 1001;
openssh.authorizedKeys.keys = keys.users.steveej.openssh;
shell = pkgs.posh { image = "quay.io/enarx/fedora"; run_args = "-v /dev/sgx:/dev/sgx"; };
extraGroups = [ "sgx" ];
subUidRanges = [{ startUid = 100000; count = 65536; }];
subGidRanges = [{ startGid = 100000; count = 65536; }];