nixos/tmux: add related package

This is a trivial example of `relatedPackages` option usage.
This commit is contained in:
Jan Malakhovski 2017-12-07 21:26:36 +00:00
parent 660806066a
commit eb38b8676a

View file

@ -61,7 +61,12 @@ in {
options = {
programs.tmux = {
enable = mkEnableOption "<command>tmux</command> - a <command>screen</command> replacement.";
enable = mkOption {
type = types.bool;
default = false;
description = "Whenever to configure <command>tmux</command> system-wide.";
relatedPackages = [ "tmux" ];
};
aggressiveResize = mkOption {
default = false;