Separating the actual nixvim config out to its own file allows me to include it directly in the devshells that I create, incluing all of the configuration, plugins, and settings that I have. Man, the power of nixvim is awesome
10 lines
266 B
Nix
10 lines
266 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# The Hack font is used in the Fugitive sidebars
|
|
fonts.fontconfig.enable = true;
|
|
home.packages = [ (pkgs.nerdfonts.override { fonts = [ "Hack" ]; }) ];
|
|
|
|
programs.nixvim = (import ./vim/config.nix { inherit pkgs; }) // { enable = true; };
|
|
}
|