2024-04-02 18:50:20 +03:00
|
|
|
{ pkgs, color, ... }: let
|
2024-04-02 08:15:31 +03:00
|
|
|
script = pkgs.writeShellScriptBin "tmux_script" (builtins.readFile ./tmux/Script.sh);
|
2024-04-02 06:50:22 +03:00
|
|
|
in {
|
2024-03-04 00:34:39 +03:00
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
2024-04-02 18:50:20 +03:00
|
|
|
extraConfig = ''
|
|
|
|
set -g @COLOR_BG #${color.bg}
|
|
|
|
set -g @COLOR_DARKGRAY #${color.darkgray}
|
|
|
|
set -g @COLOR_YELLOW #${color.yellow}
|
|
|
|
'' + (builtins.readFile ./tmux/tmux.conf);
|
2024-03-04 00:34:39 +03:00
|
|
|
};
|
2024-04-02 08:15:31 +03:00
|
|
|
environment.systemPackages = [ script ];
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|