nixos/tmux: rename extraTmuxConf to extraConfig (#77423)

This commit is contained in:
risson 2020-02-07 00:29:36 +01:00 committed by GitHub
parent 629c35627f
commit 301bca0734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -52,7 +52,7 @@ let
set -s escape-time ${toString cfg.escapeTime} set -s escape-time ${toString cfg.escapeTime}
set -g history-limit ${toString cfg.historyLimit} set -g history-limit ${toString cfg.historyLimit}
${cfg.extraTmuxConf} ${cfg.extraConfig}
''; '';
in { in {
@ -102,7 +102,7 @@ in {
description = "Time in milliseconds for which tmux waits after an escape is input."; description = "Time in milliseconds for which tmux waits after an escape is input.";
}; };
extraTmuxConf = mkOption { extraConfig = mkOption {
default = ""; default = "";
description = '' description = ''
Additional contents of /etc/tmux.conf Additional contents of /etc/tmux.conf
@ -181,4 +181,8 @@ in {
}; };
}; };
}; };
imports = [
(lib.mkRenamedOptionModule [ "programs" "tmux" "extraTmuxConf" ] [ "programs" "tmux" "extraConfig" ])
];
} }