nix/module/common/Tmux.nix

10 lines
247 B
Nix

{ pkgs, ... }: let
script = pkgs.writeShellScriptBin "tmux_script" (builtins.readFile ./tmux/Script.sh);
in {
programs.tmux = {
enable = true;
extraConfig = builtins.readFile ./tmux/tmux.conf;
};
environment.systemPackages = [ script ];
}