nix-community.nixvim/modules/top-level/default.nix
Matt Sturgeon 692e39311e
modules/{output,files,test}: move outputs to build scope
Move the following output options into `build`:
- finalPackage -> package
- printInitPackage
- initPath -> initFile
- filesPlugin -> extraFiles
- test.derivation -> test
2024-09-26 06:31:57 +01:00

18 lines
472 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
./output.nix
./readonly-renames.nix
./test.nix
];
config = {
isTopLevel = true;
};
}