diff --git a/containers/srb2.nix b/containers/srb2.nix index abd4b0b2..28cac57f 100644 --- a/containers/srb2.nix +++ b/containers/srb2.nix @@ -24,8 +24,20 @@ in mountPoint = hostPath; isReadOnly = true; }; + + dri = rec { + hostPath = "/dev/dri"; + mountPoint = hostPath; + }; }; + allowedDevices = [ + { + modifier = "rw"; + node = "/dev/dri/renderD128"; + } + ]; + config = { pkgs, lib, ... }: { imports = [ home-manager.nixosModules.home-manager