./scripts/update-flake-inputs.sh
– update inputs, using the latest nixpkgs Hydra build../scripts/diff-flake-lock.pl
– print updated inputs in the lockfile with github compare links
For flakes consuming this project it is useful to add a registry item for dotfiles
nix registry add flake:dotfiles github:LukeChannings/dotfiles
This project can then be used as in input like so:
{
inputs.dotfiles.url = "dotfiles";
}
To switch to a local clone:
nix registry add flake:dotfiles path:$LOCAL_DOTFILES_PATH
cd $CONSUMING_REPO
nix flake update dotfiles