A lot of documentation about package management and configuration of vim in nix is stored at [1] in nixpkgs.