{ config, lib, pkgs, ... }: { hardware.graphics = { enable = true; enable32Bit = true; }; hardware.opentabletdriver.enable = true; hardware.uinput.enable = true; boot.kernelModules = [ "uinput" ]; boot.extraModprobeConfig = '' # DualSense/PS4 pads pair over Bluetooth then drop instantly; broken # ERTM in many adapters. Disabling it is the standard fix. options bluetooth disable_ertm=1 ''; # Blog V4 needs the rtlsdrblog fork of librtlsdr, which is what # pkgs.rtl-sdr already is here. Also blacklists the DVB-T drivers. hardware.rtl-sdr.enable = true; # For ddcutil — no laptop backlight here, only external DisplayPort. hardware.i2c.enable = true; services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { modesetting.enable = true; open = true; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; }; }