diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-03-24 18:22:17 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-03-24 18:22:17 -0400 |
| commit | 41b2d2f32f7da48b0113ca65cbda4380c5c4590e (patch) | |
| tree | 10998ac306e8714dbdd12421d8ba176ec710e709 /modules/tmux/default.nix | |
| parent | 2b9b97ca70a7eb6121489f5ba2b40ee3077f332b (diff) | |
| download | home-41b2d2f32f7da48b0113ca65cbda4380c5c4590e.tar.gz | |
session management
Diffstat (limited to 'modules/tmux/default.nix')
| -rw-r--r-- | modules/tmux/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 17a03eb..1897b89 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -7,8 +7,14 @@ in enable = lib.mkEnableOption "tmux"; }; - config = { - programs.tmux = lib.mkIf cfg.enable { + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ + fd + fzf + (writeShellScriptBin "session-load" "${builtins.readFile ./session-load.sh}") + ]; + + programs.tmux = { enable = true; customPaneNavigationAndResize = true; prefix = "C-Space"; |