I followed this wiki guide to setup uv on NixOS: https://wiki.nixos.org/wiki/Python_quickstart_using_uv. I want to run ComfyUI, I installed all the packages from the command here: uv add --requirements requirements.txtuv add --requirements requirements.txt, but when I did uv run python main.py, I got this error:
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
[W1030 02:44:10.188330356 AllocatorConfig.cpp:28] Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator())
This is my current nix nvidia configuration:
hardware = {
graphics.enable = true;
nvidia = {
nvidiaSettings = true;
open = true;
};
nvidia-container-toolkit.enable = true;
};