From cd3519f6a9575420a0f8f350d968000eab14f4ae Mon Sep 17 00:00:00 2001 From: dracoling Date: Fri, 3 May 2024 12:12:22 -0400 Subject: [PATCH] add tmux --- changelog.md | 4 ++++ configuration.nix | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/changelog.md b/changelog.md index 24c82ae..096f85d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## add tmux + +- `tmux` to get closer to the command line I guess + ## add traceroute - just added `traceroute`, not `inetutils` because for some reason that one sucks? diff --git a/configuration.nix b/configuration.nix index 0bf13e9..b52dc66 100644 --- a/configuration.nix +++ b/configuration.nix @@ -43,6 +43,17 @@ programs.direnv.enable = true; users.defaultUserShell = pkgs.fish; + programs.tmux = { + enable = true; + shortcut = "a"; # changes default shortcut to ctrl-a from ctrl-b + extraConfig = '' + set-option -g mouse on + bind | split-window -h -c "#{pane_current_path}" + bind - split-window -v -c "#{pane_current_path}" + bind c new-window -c "#{pane_current_path}" + ''; + }; + services.tailscale.enable = true; services.tailscale.useRoutingFeatures = "client";