wrappers: simplify modules

This commit is contained in:
Matt Sturgeon 2024-07-02 15:06:39 +01:00 committed by MattSturgeon
parent 6252a41fc6
commit 3d96960348
7 changed files with 30 additions and 18 deletions

View file

@ -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;