Files
nixvim/lib/overlay.nix
Matt Sturgeon fca03f1759 lib: allow instantiating without a flake instance
Separate `overlay.nix` and `overlay.internal.nix`, to encapsulate the
`flake` argument. This allows non-flake users to import `./overlay.nix`
without providing a dummy `flake = null` attr.

The read-only `config.flake` option is only defined by `evalNixvim` when
`lib` is extended using the overlay in Nixvim's flake outputs.
2026-05-24 03:05:36 +00:00

5 lines
113 B
Nix

# Public non-flake entrypoint for Nixvim's Nixpkgs-lib overlay
import ./overlay.internal.nix {
flake = null;
}