{ config, lib, ... }: { options.common.hardware.thunderbolt.enable = lib.mkEnableOption "thundebolt support"; config = lib.mkIf config.common.hardware.thunderbolt.enable { boot.initrd.availableKernelModules = [ "thunderbolt" ]; services.hardware.bolt.enable = true; }; }