mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
modules/misc: include assertions
and meta
modules in the repo
Based on the modules we previously imported from NixOS. This will allow us to drop the `defaultPkgs` specialArg and avoids needing the proposed `pkgsPath` specialArg.
This commit is contained in:
parent
901346e38b
commit
6da94195c2
3 changed files with 92 additions and 8 deletions
|
@ -1,15 +1,9 @@
|
|||
{ defaultPkgs, ... }:
|
||||
let
|
||||
# We can't use config._module.args to define imports,
|
||||
# so we're forced to use specialArgs.defaultPkgs's path
|
||||
nixosModules = defaultPkgs.path + "/nixos/modules/";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./assertions.nix
|
||||
./context.nix
|
||||
./meta.nix
|
||||
./nixpkgs.nix
|
||||
./nixvim-info.nix
|
||||
(nixosModules + "/misc/assertions.nix")
|
||||
(nixosModules + "/misc/meta.nix")
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue