Yep, I removed it and it built with the beta drivers.
The issue is still there, sadly.
─λ nvidia-smi
Sat Jun 15 06:10:59 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.52.04 Driver Version: 555.52.04 CUDA Version: 12.5 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3050 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 34C P3 12W / 30W | 1MiB / 4096MiB | 14% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
─λ nvidia-offload nix-shell -p vulkan-tools --run "vkcube"
this path will be fetched (0.32 MiB download, 2.02 MiB unpacked):
/nix/store/2771g43xk36d0qsdif7mvxvnwshv7cmz-vulkan-tools-1.3.283.0
copying path '/nix/store/2771g43xk36d0qsdif7mvxvnwshv7cmz-vulkan-tools-1.3.283.0' from 'https://cache.nixos.org'...
Selected GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU, type: DiscreteGpu
/tmp/nix-shell-2311-0/rc: line 3: 4353 Segmentation fault (core dumped) vkcube