home: tmux: make it enable-able

This commit is contained in:
Bruno BELANYI 2021-03-13 00:02:34 +00:00
parent 81d6b19fc0
commit c10278923b

View file

@ -1,6 +1,13 @@
{ pkgs, ... }: { config, lib, pkgs, ... }:
let
cfg = config.my.home.tmux;
in
{ {
programs.tmux = { options.my.home.tmux = with lib.my; {
enable = mkDisableOption "tmux terminal multiplexer";
};
config.programs.tmux = lib.mkIf cfg.enable {
enable = true; enable = true;
clock24 = true; # I'm one of those heathens clock24 = true; # I'm one of those heathens