nixos/tmux: rename extraTmuxConf to extraConfig (#77423)
commit301bca073491449127713ca6992ac7db645c7faf
authorrisson <18313093+rissson@users.noreply.github.com>
dateFri 7 Feb 2020, 00:29 (7 years ago)
parent629c356
nixos/modules/programs/tmux.nix+6−2
@@ -52,7 +52,7 @@ let
5252 set -s escape-time ${toString cfg.escapeTime}
5353 set -g history-limit ${toString cfg.historyLimit}
5454
55− ${cfg.extraTmuxConf}
55+ ${cfg.extraConfig}
5656 '';
5757
5858in {
@@ -102,7 +102,7 @@ in {
102102 description = "Time in milliseconds for which tmux waits after an escape is input.";
103103 };
104104
105− extraTmuxConf = mkOption {
105+ extraConfig = mkOption {
106106 default = "";
107107 description = ''
108108 Additional contents of /etc/tmux.conf
@@ -181,4 +181,8 @@ in {
181181 };
182182 };
183183 };
184+
185+ imports = [
186+ (lib.mkRenamedOptionModule [ "programs" "tmux" "extraTmuxConf" ] [ "programs" "tmux" "extraConfig" ])
187+ ];
184188}