Skip to content

LukeChannings/dotfiles

Repository files navigation

Luke's dotfiles

Maintenance

Updating Nixpkgs

  1. Find the latest successful Hydra build for a nixpkgs channel
  2. Update the input to that revision
    • With a workflow
    • Or manually with nix flake update --override-input nixpkgs github:NixOS/nixpkgs/<rev>

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