From 9046e7ac207f8fa8d39ae005b21711ce453b8789 Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Mon, 8 Jun 2026 10:55:05 -0700 Subject: [PATCH] update chrome acceleration --- hosts/s.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/s.nix b/hosts/s.nix index 01c7bdc..295ce7b 100644 --- a/hosts/s.nix +++ b/hosts/s.nix @@ -14,7 +14,10 @@ }; hardware.nvidia-container-toolkit.enable = true; - virtualisation.docker.daemon.settings.features.cdi = true; + virtualisation.docker.daemon.settings = { + features.cdi = true; + insecure-registries = [ "localhost:5005" ]; + }; hardware.nvidia = { modesetting.enable = true; @@ -33,6 +36,7 @@ environment.sessionVariables = { GBM_BACKEND = "nvidia-drm"; __GLX_VENDOR_LIBRARY_NAME = "nvidia"; + LIBVA_DRIVER_NAME = "radeonsi"; }; environment.systemPackages = with pkgs; [ -- 2.51.2