From 2006018e7a280f70c9a7d9efc70632fbb86059ac Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 8 Jul 2025 01:17:08 +0000 Subject: .source -> .text where possible --- modules/terminal/system/programs/tmux.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'modules/terminal/system/programs/tmux.nix') diff --git a/modules/terminal/system/programs/tmux.nix b/modules/terminal/system/programs/tmux.nix index ecb5e21..fc68450 100644 --- a/modules/terminal/system/programs/tmux.nix +++ b/modules/terminal/system/programs/tmux.nix @@ -95,17 +95,7 @@ tset window-style bg=$bg_dark ''; - plugins.tmux-resurrect = builtins.fetchGit { - url = "https://github.com/tmux-plugins/tmux-resurrect"; - rev = "cff343cf9e81983d3da0c8562b01616f12e8d548"; - }; - - tmux-conf = pkgs.writeText "tmux.conf" '' - # Resurrect - run-shell ${plugins.tmux-resurrect}/resurrect.tmux - set -g @resurrect-dir "$HOME/.local/share/tmux-resurrect" - set -g @resurrect-processes 'hx cmus cava nix-shell' - + tmux-conf = '' set -g mouse on # bell @@ -153,9 +143,8 @@ in lib.mkIf cfg.enable { hjem.users."${config.collinux.user.name}" = { - files = { - ".config/tmux/tmux.conf".source = tmux-conf; - }; + files.".config/tmux/tmux.conf".text = tmux-conf; + packages = [pkgs.tmux]; }; } -- cgit v1.3.1