remove packages from lite mode

This commit is contained in:
Hendrik Sokolowski 2022-12-26 15:06:47 +01:00
parent 858fd257a4
commit 1c6a726d01
Signed by: hensoko
GPG key ID: 5C36A01B80BCCC59
2 changed files with 4 additions and 1 deletions

View file

@ -55,6 +55,7 @@ in {
programs.neovim = import ./nvim {
inherit config;
inherit pkgs;
inherit lib;
};
programs.fzf = import ./fzf {
inherit config;

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
...
}: let
psCfg = config.pub-solar;
@ -42,7 +43,8 @@ in {
universal-ctags
];
plugins = with pkgs.vimPlugins; [
plugins = with pkgs.vimPlugins; [ ]
++ lib.optionals (!cfg.lite) [
nvim-cmp
cmp-nvim-lsp
cmp_luasnip