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";