From a6376bff79bfccc5e9519cf20954a89197884fac Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 24 Nov 2025 16:11:06 +0800 Subject: transformations: nvidia: Apply ‘replace-mesa’ to system packages and services. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * nonguix/transformations.scm (nonguix-transformation-nvidia) [packages] [services]: Apply ‘replace-mesa’. --- nonguix/transformations.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/nonguix/transformations.scm b/nonguix/transformations.scm index f3b5e77..42a101b 100644 --- a/nonguix/transformations.scm +++ b/nonguix/transformations.scm @@ -138,9 +138,13 @@ TODO: Xorg configuration." (remove (cut string-prefix? "nvidia_drm.modeset=" <>) (operating-system-user-kernel-arguments os))))) + (packages + (replace-mesa (operating-system-packages os) #:driver driver)) (services - `(,(or (assoc-ref %presets driver) - (leave - (G_ "no NVIDIA service configuration available for '~a'~%") - (package-name driver))) - ,@(operating-system-user-services os)))))) + (replace-mesa + `(,(or (assoc-ref %presets driver) + (leave + (G_ "no NVIDIA service configuration available for '~a'~%") + (package-name driver))) + ,@(operating-system-user-services os)) + #:driver driver))))) -- cgit v1.2.3