Introducing what I've been making recently
With nix's home-manager, you can place files directly under the home directory from the nix store like this:
but this is a tool that extracts just that part.
https://github.com/yasunori0418/layat
nix
home.file = {
".vimrc".src = ./path/to/.vimrc
};Translated from Japanese
GitHubGitHub - yasunori0418/layat: Lays contents at root-relative targets, as the manifest says. Formerly nput.Lays contents at root-relative targets, as the manifest says. Formerly nput. - yasunori0418/layat
commit 00b1085