diff --git a/flake.nix b/flake.nix index 8223c60..79fa98b 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,12 @@ flake-utils.lib.eachDefaultSystem ( system: let - pkgs = nixpkgs.legacyPackages.${system}; + # Allow the CUDA EULA packages (cuda_nvcc, etc.) needed by the + # CUDA-enabled comfyui package. + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; in { packages = import ./pkgs {