From b42b873eb1bd7f78dbb7f8fba909f7f43d0ba70d Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 2 Oct 2026 23:47:57 +0200 Subject: [PATCH] fix(opencl): remove failing legacy build from t14g1 config --- hosts/neon/configuration.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hosts/neon/configuration.nix b/hosts/neon/configuration.nix index 3b1a9bf..362289d 100644 --- a/hosts/neon/configuration.nix +++ b/hosts/neon/configuration.nix @@ -1,6 +1,11 @@ # neon: thinkpad t14 gen1 (intel) -{ inputs, ... }: +{ + inputs, + lib, + pkgs, + ... +}: { imports = [ @@ -30,6 +35,16 @@ # host-specific niri config (input devices, laptop binds) home-manager.users.aaron.imports = [ ./niri.nix ]; + # nixos-hardware's intel module adds intel-compute-runtime-legacy1 (opencl), + # which isn't cached and currently fails to build; not needed on neon + hardware.graphics.extraPackages = lib.mkForce ( + with pkgs; + [ + intel-media-driver + vpl-gpu-rt + ] + ); + networking.hostName = "neon"; system.stateVersion = "25.11"; # don't change }