I have my .vimrc file in a gist and would like have it in my users home directory.
How do I specify files to add to the user home directory in configuration.nix
I have my .vimrc file in a gist and would like have it in my users home directory.
How do I specify files to add to the user home directory in configuration.nix
Have a look at home manager, you can use home.file.<name?>
for that.
It behaves similar to the environment.etc option.
Alternatively there is the package vim_configurable.
Oh I overread that it is a gist, though that doesn’t change much.
Just fetch the file with either fetchurl or fetchzip.
Good suggestions. Thanks!