dotfiles
dotfiles copied to clipboard
Absolute template reference
I can init the templates in this repo like so:
$ nix flake init -t <path to repo>#template-name
I think that repo path could be replaced with a name were the flake exposed in the registry (nix registry list).
nix.registry is for flakes. I don't know how to reference the eventual dotfiles output flake, nor do I know how to annotate a flake inline (a naive nixpkgs // { templates: etc; } doesn't work). I recall that referring to local flakes is a bit of a mess. I don't want to do it imperatively. I don't want to have to needlessly move the templates out into their own repo.
:shrug: