[Nix-dev] Using Nix to manage dotfiles
PkmX
pkmx.tw at gmail.com
Tue Feb 11 03:00:03 CET 2014
Hi all,
I wonder if anyone have experimented with using Nix to generate
dotfiles (.zshrc, .vimrc, etc) in a manner similar to NixOS. For
example, it would be cool if `vim = { enable = true; tabstop = 8;
plugins = [ pkgs.vim.powerline <...> ]; };` will install vim, pull in
plugins (and their dependencies, if any), generate .vimrc and put them
in the correct locations, and that being able to specify any packages
that my configuration/scripts depend on, which are installed
automatically to make sure my scripts always work. This combined with
systemd user services[1] should allow users to easily build and manage
their environments in a single, consistent and elegant way.
Does anybody have any experience on this or examples to share?
[1] https://github.com/NixOS/nixpkgs/issues/1689
--
PkmX
More information about the nix-dev
mailing list