diff options
author | Jan Malakhovski <oxij@oxij.org> | 2017-12-07 21:26:36 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-02-09 19:51:06 +0000 |
commit | eb38b8676a3185141c49478f1a2c6374c55f27a9 (patch) | |
tree | 9b96b192288905b43497cd24d44825392a4f8caa /nixos/modules/programs/tmux.nix | |
parent | 660806066abc4a64ac44b53b2b1a20f5ab4d920b (diff) |
nixos/tmux: add related package
This is a trivial example of `relatedPackages` option usage.
Diffstat (limited to 'nixos/modules/programs/tmux.nix')
-rw-r--r-- | nixos/modules/programs/tmux.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/programs/tmux.nix b/nixos/modules/programs/tmux.nix index 1eb6fa6bf2fa..4a60403a2827 100644 --- a/nixos/modules/programs/tmux.nix +++ b/nixos/modules/programs/tmux.nix @@ -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; |