refactor(nvim): update git nix code
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
157a74df47
commit
b34b174c68
1 changed files with 36 additions and 22 deletions
|
@ -1,4 +1,14 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
|
cfg = config.programs.neovim;
|
||||||
|
in {
|
||||||
|
config = mkIf cfg.enable {
|
||||||
programs.neovim.plugins = [
|
programs.neovim.plugins = [
|
||||||
pkgs.vimPlugins.fugitive
|
pkgs.vimPlugins.fugitive
|
||||||
|
|
||||||
|
@ -24,4 +34,8 @@
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# For accurate stack trace
|
||||||
|
_file = ./default.nix;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue