mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 23:55:15 +02:00
standalone: Allow to pass extraSpecialArgs (#665)
This commit is contained in:
parent
2f06f921e0
commit
0c5dcb56d1
4 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{self, ...}: {
|
||||
# Import all your configuration modules here
|
||||
imports = [
|
||||
./bufferline.nix
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixvim,
|
||||
flake-utils,
|
||||
|
@ -21,6 +22,10 @@
|
|||
nvim = nixvim'.makeNixvimWithModule {
|
||||
inherit pkgs;
|
||||
module = config;
|
||||
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
||||
extraSpecialArgs = {
|
||||
inherit self;
|
||||
};
|
||||
};
|
||||
in {
|
||||
checks = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue