home: tmux: basic setup

This commit is contained in:
Antoine Martin 2021-04-19 18:59:24 +02:00
parent 2151342f5f
commit 17f7df9fc8
4 changed files with 16 additions and 4 deletions

View file

@ -3,6 +3,7 @@
imports = [
./emacs.nix
./flameshot.nix
./tmux.nix
./x
];

14
home/tmux.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.home.tmux;
in
{
options.my.home.tmux = with lib; {
enable = mkEnableOption "tmux dotfiles";
};
config.programs.tmux = lib.mkIf cfg.enable {
enable = true;
baseIndex = 1;
};
}