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

@ -2,6 +2,8 @@
let
in {
services.udev.extraRules = ''SUBSYSTEM=="sgx", MODE="0660", GROUP="sgx"'';
users.groups.sgx = {};
networking.hostName = "steveej-nuc7pjyh-work"; # Define your hostname.
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_sgx_latest;
}