standalone: Allow to pass extraSpecialArgs (#665)

This commit is contained in:
traxys 2023-10-23 14:11:29 +02:00 committed by GitHub
parent 2f06f921e0
commit 0c5dcb56d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{
{self, ...}: {
# Import all your configuration modules here
imports = [
./bufferline.nix

View file

@ -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 = {