nix/module/common/Tmux.nix

10 lines
247 B
Nix
Raw Normal View History

2024-04-02 20:34:27 +03:00
{ pkgs, ... }: let
2024-04-02 08:15:31 +03:00
script = pkgs.writeShellScriptBin "tmux_script" (builtins.readFile ./tmux/Script.sh);
2024-04-02 06:50:22 +03:00
in {
programs.tmux = {
enable = true;
2024-04-02 20:34:27 +03:00
extraConfig = builtins.readFile ./tmux/tmux.conf;
};
2024-04-02 08:15:31 +03:00
environment.systemPackages = [ script ];
}