parent
fccf2ef40f
commit
bdb87b971b
|
@ -7,7 +7,10 @@ in {
|
||||||
options.within.vim.enable = mkEnableOption "Enables Within's vim config";
|
options.within.vim.enable = mkEnableOption "Enables Within's vim config";
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [ vim ];
|
programs.vim = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.vimPlugins; [ vim-airline gruvbox vim-go direnv-vim vim-lsp ];
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".vimrc".source = ./vimrc;
|
home.file.".vimrc".source = ./vimrc;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue