forked from mirrors/nixpkgs
nixos/tmux: rename extraTmuxConf to extraConfig (#77423)
This commit is contained in:
parent
629c35627f
commit
301bca0734
|
@ -52,7 +52,7 @@ let
|
|||
set -s escape-time ${toString cfg.escapeTime}
|
||||
set -g history-limit ${toString cfg.historyLimit}
|
||||
|
||||
${cfg.extraTmuxConf}
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
|
||||
in {
|
||||
|
@ -102,7 +102,7 @@ in {
|
|||
description = "Time in milliseconds for which tmux waits after an escape is input.";
|
||||
};
|
||||
|
||||
extraTmuxConf = mkOption {
|
||||
extraConfig = mkOption {
|
||||
default = "";
|
||||
description = ''
|
||||
Additional contents of /etc/tmux.conf
|
||||
|
@ -181,4 +181,8 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule [ "programs" "tmux" "extraTmuxConf" ] [ "programs" "tmux" "extraConfig" ])
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue