nixvim time!
This commit is contained in:
parent
4be7f1f763
commit
dee7f495d1
10 changed files with 320 additions and 30 deletions
14
modules/editors/nixvim.nix
Normal file
14
modules/editors/nixvim.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{pkgs, config, lib, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.editors.nixvim;
|
||||
inherit (inputs.nixvim.packges.${pkgs.system}) nixvim;
|
||||
in {
|
||||
options.modules.editors.nivim.enable = mkEnableOption "nixvim";
|
||||
config = mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue