Files
nix-config-ryan4yin/hosts/idols-ai/hardware-intel.nix
T
ryan4yin | 二花 bebe5bcf42 feat(ai,aquamarine): expose board fans and temperatures via SuperIO (#456)
* feat(ai): load nct6683 for the board's NCT6687D SuperIO
* feat(aquamarine): load nct6775 for the board's NCT6798D SuperIO

Assisted-by: DeepSeek Harness (deepseek-flash)
2026-10-15 23:58:23 +08:00

29 lines
900 B
Nix

{
...
}:
{
# kvm virtualization support
boot.initrd.kernelModules = [ ];
boot.kernelModules = [
"kvm-intel"
# Provide a connected DRM output when the NVIDIA-attached monitors are off.
# Niri exposes it as Virtual-1 for headless Sunshine sessions.
"vkms"
# Bind the board's NCT6687D SuperIO, otherwise fan RPM and board
# temperatures are missing.
"nct6683"
];
boot.extraModprobeConfig = ''
options kvm_intel nested=1
# Create Virtual-1 as soon as vkms loads, including during normal physical sessions.
options vkms create_default_dev=1
'';
boot.extraModulePackages = [ ];
# The i5-13600KF has no iGPU; the RTX 4090 and vkms are the DRM devices.
hardware.enableRedistributableFirmware = true;
# May help services that have trouble accessing /dev/dri (e.g., jellyfin/plex):
# users.users.<service>.extraGroups = [ "video" "render" ];
}