feat: add localized tmux server
This commit is contained in:
parent
a5da8a4e15
commit
efe080a9e7
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 "$@"
|
||||||
|
''
|
||||||
|
)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue