nvim: Configure it with everything needed for LazyVim

This commit is contained in:
PapaTutuWawa committed 2023-07-18 21:46:28 +02:00
1 parent 1346cb93af
commit d0bd1ca8fa
4 files changed
+98 -33

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
{ config, lib, pkgs, ... }:
let
cfg = config.ptw.programs.neovim;
in {
options.ptw.programs.neovim = {
enable = lib.mkEnableOption "Enable and configure neovim using HomeManager";
};
config = lib.mkIf cfg.enable {
home-manager.users."${config.ptw.system.singleUser}" = {
programs.neovim = {
enable = true;
extraPackages = with pkgs; [
# For telescope-nvim
fd
lazygit
fish
tree-sitter gcc
nodejs_20
# Clipboard
wl-clipboard
];
};
};
};
}