diff --git a/home/hosts/packages.nix b/home/hosts/packages.nix index bfc9ee6..ccf29bc 100644 --- a/home/hosts/packages.nix +++ b/home/hosts/packages.nix @@ -28,8 +28,6 @@ with pkgs; sops sshfs tldr - tmux - tmuxp tree unzip vimPlugins.vim-plug diff --git a/home/modules/shell/default.nix b/home/modules/shell/default.nix index 874a7f9..4973523 100644 --- a/home/modules/shell/default.nix +++ b/home/modules/shell/default.nix @@ -3,5 +3,6 @@ ./bash.nix ./utils.nix ./prompt.nix + ../tmux.nix ]; } diff --git a/home/modules/tmux.nix b/home/modules/tmux.nix new file mode 100644 index 0000000..7624f02 --- /dev/null +++ b/home/modules/tmux.nix @@ -0,0 +1,25 @@ +{ + pkgs, + dotsPath, + ... +}: +{ + config = { + home.packages = with pkgs; [ + tmux + tmuxp + reptyr + ]; + + home.file = { + ".config/tmux/tmux.conf".source = dotsPath + "/.config/tmux/tmux.conf"; + ".config/tmux/tmux.regular.conf".source = dotsPath + "/.config/tmux/tmux.regular.conf"; + ".config/tmux/themes/zenwritten_light.tmux".source = + dotsPath + "/.config/tmux/themes/zenwritten_light.tmux"; + ".config/tmux/themes/zenwritten_dark.tmux".source = + dotsPath + "/.config/tmux/themes/zenwritten_dark.tmux"; + ".config/tmux/hooks/tmux.ssh.conf".source = dotsPath + "/.config/tmux/hooks/tmux.ssh.conf"; + ".config/tmux/hooks/tmux.regular.conf".source = dotsPath + "/.config/tmux/hooks/tmux.regular.conf"; + }; + }; +}