mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
wrappers: simplify modules
This commit is contained in:
parent
6252a41fc6
commit
3d96960348
7 changed files with 30 additions and 18 deletions
|
@ -36,15 +36,7 @@ in
|
|||
nixosConfig = config;
|
||||
inherit helpers;
|
||||
};
|
||||
modules = [
|
||||
{
|
||||
options = {
|
||||
enable = mkEnableOption "nixvim";
|
||||
defaultEditor = mkEnableOption "nixvim as the default editor";
|
||||
};
|
||||
config.wrapRc = mkForce true;
|
||||
}
|
||||
] ++ shared.topLevelModules;
|
||||
modules = [ ./modules/nixos.nix ] ++ shared.topLevelModules;
|
||||
};
|
||||
};
|
||||
nixvim.helpers = shared.helpers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue