~kaction/config

ref: 569cada1bc5709b76d4fd05eb2696044ad68c338 config/default.nix -rw-r--r-- 104 bytes
efeaa242 — Dmitry Bogatov 1 year, 2 months ago
Pin nixpkgs version

Add option to build "world" set from pinned nixpkgs version in addition
to option to build is as overlay. Pinned nixpkgs version is know to
work, and, by definition of pin, will not break. Building "world" may
break due upgrade of "nixpkgs" channel, but enables use of latests and
greatest versions of dependencies.

Another minor inconvenience is that build with pinned nixpkgs:

 $ nix-build -A world
 $ nix-env -i ./result

ignores meta.priority, which may lead to more file conflicts.
ea33eebc — Dmitry Bogatov 1 year, 9 months ago
Drop unsuccesfull attempts to deploy config with Nix
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