ref: milestone/1 config/default.nix -rw-r--r-- 713 bytes
c499fb82 — Dmitry Bogatov 2 years ago
Write Nix derivation to deploy config files

Now, in addition to `config.tar.gz', configuration files
could be deployed in Nix-style.

With this approach, configuration files are stored read-only in profile
(~/.nix-profile/share/config.tgz) and configuration files at expected
locations (~/.vimrc, for example) becomes symbolic link to corresponding
file in profile.

This way, if configuration file is ever removed, corresponding symbolic
link becomes dangling and easy to locate. This property is not provided
by `config.tar.gz' approach.
0ffb743e — Dmitry Bogatov 2 years ago
Add receipt to build config.tar.gz with Nix