nix-community.nixvim/flake-modules
Matt Sturgeon 4b7a41276a
modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg
This minimal implementation allows `nixpkgs.pkgs` to be defined, but
does not implement evaluating an instance from a pkgsPath when _not_
defined.

The `defaultPkgs` specialArg is dropped in favour of `nixpkgs.pkgs`
being defined. If it's not defined, an assertion is thrown.

In the future, a nixpkgs source path can be supplied, defaulting to the
flake's `inputs.nixpkgs`. Along with other `nixpkgs.*` options, this
will allow a `pkgs` instance to be evaluated within the module eval.
2024-09-27 09:30:12 +01:00
..
dev flake-modules/dev: treefmt re-enable taplo linux 2024-09-26 11:05:48 -05:00
default.nix lib: rename helpers.nix -> default.nix 2024-09-13 17:25:17 +01:00
legacy-packages.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
lib.nix treewide: avoid passing pkgs to our lib 2024-09-22 18:18:05 +01:00
overlays.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
packages.nix docs: move pkgs overlays to their own file 2024-09-13 12:26:48 +01:00
templates.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
tests.nix treewide: avoid passing pkgs to our lib 2024-09-22 18:18:05 +01:00
wrappers.nix modules/performance: add ability to byte compile lua configuration files 2024-07-31 11:31:40 +00:00