mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 22:30:13 +02:00
wrappers: simplify modules
This commit is contained in:
parent
6252a41fc6
commit
3d96960348
7 changed files with 30 additions and 18 deletions
|
@ -1,8 +1,7 @@
|
|||
{ lib }:
|
||||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
options = {
|
||||
enable = mkEnableOption "nixvim";
|
||||
defaultEditor = mkEnableOption "nixvim as the default editor";
|
||||
|
||||
vimdiffAlias = mkOption {
|
||||
|
@ -13,4 +12,6 @@ with lib;
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
imports = [ ./enable.nix ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue