home: tmux: basic setup
This commit is contained in:
parent
2151342f5f
commit
17f7df9fc8
|
@ -14,10 +14,6 @@
|
|||
AddKeysToAgent yes
|
||||
'';
|
||||
};
|
||||
tmux = {
|
||||
enable = true;
|
||||
baseIndex = 1;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
imports = [
|
||||
./emacs.nix
|
||||
./flameshot.nix
|
||||
./tmux.nix
|
||||
./x
|
||||
];
|
||||
|
||||
|
|
14
home/tmux.nix
Normal file
14
home/tmux.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -4,5 +4,6 @@
|
|||
# Keyboard settings & i3 settings
|
||||
my.home.x.enable = true;
|
||||
my.home.emacs.enable = true;
|
||||
my.home.tmux.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue