Skip to content

LukeChannings/dotfiles

Repository files navigation

Luke's dotfiles

Maintenance

Keeping dependencies up-to-date

  • ./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

Switching between a local clone and the git repo

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