-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft: tmux: add configBeforePlugin option #3801
Conversation
Thanks for the contribution! An alternative is to do something like
in your configuration. |
Co-authored-by: Robert Helgesson <[email protected]>
I'm not too familiar with Does |
There are two different things here: Only the definitions with the highest override priority are used, and, if there are several, they are ordered according to their order priority. Here all the definitions have the same override priority, so let's focus on order priorities. The definitions in the module are as follows:
So, if you add a definition with |
Makes so much sense now! I was confused between order priority vs override priority. Thanks for the clarification! |
Thank you for your contribution! I marked this pull request as stale due to inactivity. Please read the relevant sections below before commenting. If you are the original author of the PR
If you are not the original author of the PR
|
Just to clean up home-manager's PR queue, I eventually took @rycee 's recommendation and implemented something similar. Thanks all for helping me out on this one. |
Description
programs.tmux.configBeforePlugin
option.programs.tmux.extraConfig
, but should allowtmux
config forstatus-right
andstatus-left
to take in variables exposed by pluginsplugins
andextraConfig
sections in generatedtmux.conf
#3555Checklist
Change is backwards compatible.
Code formatted with
./format
.Code tested through
nix-shell --pure tests -A run.all
.aarch64-darwin
#3803Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
Added myself as module maintainer. See example.
Added myself and the module files to
.github/CODEOWNERS
.