2024-04-06 03:03:58 +03:00
|
|
|
{ pkgs, style, key, util, ... } @args: let
|
2024-04-14 22:54:20 +03:00
|
|
|
tmux = import ./tmux args;
|
2024-04-06 03:03:58 +03:00
|
|
|
script = pkgs.writeShellScriptBin "tmux_script" tmux.script;
|
2024-04-02 06:50:22 +03:00
|
|
|
in {
|
2024-03-04 00:34:39 +03:00
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
2024-04-06 03:03:58 +03:00
|
|
|
extraConfig = tmux.config;
|
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
|
|
|
}
|