diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 01:17:08 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 01:17:08 +0000 |
| commit | 2006018e7a280f70c9a7d9efc70632fbb86059ac (patch) | |
| tree | 07c5bc0155ad75a07a093a77668ca89c9f18b010 /modules/terminal/system/programs/tmux.nix | |
| parent | ccfe06ffcf61daef56cfe0e5d3488dcb5df00bc8 (diff) | |
.source -> .text where possible
Diffstat (limited to 'modules/terminal/system/programs/tmux.nix')
| -rw-r--r-- | modules/terminal/system/programs/tmux.nix | 17 |
1 files changed, 3 insertions, 14 deletions
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]; }; } |
