mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
wrappers: add env-specific config as part of NixVim module (#1075)
* wrappers: add env-specific config as part of NixVim module * docs: add section for env-specific module arguments
This commit is contained in:
parent
9cd3721adf
commit
d6a66851fe
4 changed files with 15 additions and 3 deletions
|
@ -18,7 +18,10 @@ in {
|
|||
default = {};
|
||||
type = types.submoduleWith {
|
||||
shorthandOnlyDefinesConfig = true;
|
||||
specialArgs.helpers = helpers;
|
||||
specialArgs = {
|
||||
darwinConfig = config;
|
||||
inherit helpers;
|
||||
};
|
||||
modules =
|
||||
[
|
||||
{
|
||||
|
|
|
@ -23,7 +23,10 @@ in {
|
|||
default = {};
|
||||
type = types.submoduleWith {
|
||||
shorthandOnlyDefinesConfig = true;
|
||||
specialArgs.helpers = helpers;
|
||||
specialArgs = {
|
||||
hmConfig = config;
|
||||
inherit helpers;
|
||||
};
|
||||
modules =
|
||||
[
|
||||
{
|
||||
|
|
|
@ -23,7 +23,10 @@ in {
|
|||
default = {};
|
||||
type = types.submoduleWith {
|
||||
shorthandOnlyDefinesConfig = true;
|
||||
specialArgs.helpers = helpers;
|
||||
specialArgs = {
|
||||
nixosConfig = config;
|
||||
inherit helpers;
|
||||
};
|
||||
modules =
|
||||
[
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue