infra/nix/os/devices/steveej-nuc7pjyh-work/system.nix

7 lines
267 B
Nix

{ pkgs, lib, ... }:
{
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;
}