{ nixConfig = { extra-substituters = [ "https://nix-community.cachix.org" ]; extra-trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; description = "A flake for exposing custom Nix packages"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils, }: flake-utils.lib.eachDefaultSystem ( system: let # 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 { inherit pkgs; }; devShells.default = import ./devshells { inherit pkgs; }; checks = import ./checks { inherit pkgs; }; } ) // { overlays.default = import ./overlays; }; }