From efe080a9e70c4d233f7e69b999d6f0e5ded4615d Mon Sep 17 00:00:00 2001 From: Tamipes Date: Thu, 28 May 2026 17:56:42 +0200 Subject: [PATCH] feat: add localized tmux server --- README.md | 5 +++++ flake.nix | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 8a10d6f..54b2413 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +# Development +TODO: fill this out +### Nix shell with tmux +In the nix flake there is a devshell setup with cargo and tmux. +When using tmux it uses a set tmux server path, so only this project uses it. # Env variables: ```bash # Address the server should bind to diff --git a/flake.nix b/flake.nix index b64872c..2f97def 100644 --- a/flake.nix +++ b/flake.nix @@ -142,6 +142,11 @@ # Extra inputs can be added here; cargo and rustc are provided by default. packages = [ pkgs.rust-analyzer + + (pkgs.writers.writeBashBin "tmux" '' + exec ${lib.getExe pkgs.tmux} -S /tmp/tmux-kube_ingress "$@" + '' + ) ]; }; });