mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-31 04:04:32 +00:00
Merge 15f39fe77e
into 693840c01b
This commit is contained in:
commit
79455c6428
1 changed files with 15 additions and 4 deletions
|
@ -183,13 +183,20 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
type = types.lines;
|
||||
extraConfigBeforePlugins = mkOption {
|
||||
default = "";
|
||||
description = ''
|
||||
Additional configuration to add to
|
||||
{file}`tmux.conf`.
|
||||
Additional contents of /etc/tmux.conf, to be run before sourcing plugins.
|
||||
'';
|
||||
type = types.lines;
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
default = "";
|
||||
description = ''
|
||||
Additional contents of /etc/tmux.conf, to be run after sourcing plugins.
|
||||
'';
|
||||
type = types.lines;
|
||||
};
|
||||
|
||||
focusEvents = mkOption {
|
||||
|
@ -342,6 +349,10 @@ in {
|
|||
}
|
||||
|
||||
{ xdg.configFile."tmux/tmux.conf".text = mkBefore tmuxConf; }
|
||||
{
|
||||
xdg.configFile."tmux/tmux.conf".text =
|
||||
mkAfter cfg.extraConfigBeforePlugins;
|
||||
}
|
||||
{ xdg.configFile."tmux/tmux.conf".text = mkAfter cfg.extraConfig; }
|
||||
|
||||
(mkIf cfg.secureSocket {
|
||||
|
|
Loading…
Add table
Reference in a new issue