Some Nix flakes things that I need on a recurring basis. Inputs Use nixpkgs from another input inputs = { tgi-nix.url = "github:danieldk/tgi-nix"; nixpkgs.follows = "tgi-nix/nixpkgs"; poetry2nix = { url = "github:nix-community/poetry2nix"; inputs.nixpkgs.follows = "tgi-nix/nixpkgs"; }; }; Use a local flake as an input inputs = { tgi-nix.url = "path:/absolute/path/to/tgi-nix"; }; Update only one input # Replace crate2nix by the input to update. nix flake lock --update-input crate2nix