You can automate following one or multiple branches by using topgit. I've added a wiki article long time ago: https://nixos.org/wiki/Nixpkgs_and_TopGit Marc Weber