feat: add localized tmux server

This commit is contained in:
Tamipes 2026-05-28 17:56:42 +02:00
parent a5da8a4e15
commit efe080a9e7
2 changed files with 10 additions and 0 deletions

View file

@ -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: # Env variables:
```bash ```bash
# Address the server should bind to # Address the server should bind to

View file

@ -142,6 +142,11 @@
# Extra inputs can be added here; cargo and rustc are provided by default. # Extra inputs can be added here; cargo and rustc are provided by default.
packages = [ packages = [
pkgs.rust-analyzer pkgs.rust-analyzer
(pkgs.writers.writeBashBin "tmux" ''
exec ${lib.getExe pkgs.tmux} -S /tmp/tmux-kube_ingress "$@"
''
)
]; ];
}; };
}); });