not full vim only with display

This commit is contained in:
Chris Dombroski 2024-09-21 20:39:07 -04:00
parent 06c4921f3f
commit 035ce7ac9f

View file

@ -1,9 +1,8 @@
{ pkgs, osConfig, ... }: { pkgs, ... }:
{ {
programs.vim = { programs.vim = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
packageConfigurable = if osConfig.services.displayManager.enable then pkgs.vim-full else pkgs.vim;
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
vim-sensible vim-sensible
vim-fugitive vim-fugitive