nix/module/common/Tmux.nix

11 lines
253 B
Nix
Raw Normal View History

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 {
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 ];
}