nix-community.nixvim/modules/top-level/default.nix
Matt Sturgeon 8c3d521bff
modules: move nixpkgs module to top-level modules
Make `pkgs` available to files submodules by passing _all_ module args
through. We already did this for `specialArgs`.
2024-09-27 09:30:12 +01:00

19 lines
490 B
Nix

# Alternative to `/modules` that also includes modules that should only exist at the "top-level".
# Therefore, `/modules` should be used instead for submodules nested within a nixvim config.
#
# When using this, you likely also want a "wrapper" module for any platform-specific options.
# See `/wrappers/modules` for examples.
{
imports = [
../.
./files
./nixpkgs.nix
./output.nix
./readonly-renames.nix
./test.nix
];
config = {
isTopLevel = true;
};
}