nix/module/common/Tmux.nix

11 lines
262 B
Nix
Raw Normal View History

2024-04-06 03:03:58 +03:00
{ pkgs, style, key, util, ... } @args: let
tmux = import ./tmux/Init.nix args;
script = pkgs.writeShellScriptBin "tmux_script" tmux.script;
2024-04-02 06:50:22 +03:00
in {
programs.tmux = {
enable = true;
2024-04-06 03:03:58 +03:00
extraConfig = tmux.config;
};
2024-04-02 08:15:31 +03:00
environment.systemPackages = [ script ];
}