Repository navigation
Replies: 2 comments
|
You could approach that by multiple means:
|
0 replies
|
IMO it's best to keep this kinda logic internal to modual eval whenever possible, so I would recomend using To expand on #2372 (comment), you can leverage several attrs: In particular, Footnotes
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to set a few different global variables on different systems (scaling, some paths configured in vim.g). This might be a documentation issue but I couldn't work out how to do it.
When loading the flake, it would be nice if I could override
vim.g.foovariables.I think we'd need to do something like
Then in a module call
nixvim.settings.g.variablename = 'x';I had a look through the code, it does export some modules but I don't think I can easily override settings.
I'd also like to do this on a machine with a different using
nix runbut I assume that's a different challenge (or home-manager but I don't know how to import flakes into the home manager config)All reactions