nix/module/common/Tmux.nix

11 lines
253 B
Nix

{ pkgs, style, key, util, ... } @args: let
tmux = import ./tmux args;
script = pkgs.writeShellScriptBin "tmux_script" tmux.script;
in {
programs.tmux = {
enable = true;
extraConfig = tmux.config;
};
environment.systemPackages = [ script ];
}