mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
vim config
This commit is contained in:
parent
611796f02e
commit
189be0ee01
5 changed files with 27 additions and 0 deletions
16
modules/neovim/default.nix
Normal file
16
modules/neovim/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.jopejoe1.neovim;
|
||||
in
|
||||
{
|
||||
options.jopejoe1.neovim = {
|
||||
enable = lib.mkEnableOption "Enable neovim";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue