mirror of
https://github.com/nix-community/home-manager
synced 2025-02-03 06:45:04 +01:00
cb2fd626fe
Sesh is a CLI that helps you create and manage tmux sessions quickly and easily using zoxide. See https://github.com/joshmedeski/sesh for more.
31 lines
751 B
Nix
31 lines
751 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
programs.sesh = {
|
|
enable = true;
|
|
package = pkgs.writeScriptBin "dummy-polybar" "";
|
|
settings = {
|
|
default_session.startup_command = "nvim -c ':Telescope find_files'";
|
|
session = [
|
|
{
|
|
name = "Downloads 📥";
|
|
path = "~/Downloads";
|
|
startup_command = "ls";
|
|
}
|
|
{
|
|
name = "tmux config";
|
|
path = "~/c/dotfiles/.config/tmux";
|
|
startup_command = "nvim tmux.conf";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/sesh/sesh.toml
|
|
assertFileContent home-files/.config/sesh/sesh.toml \
|
|
${./basic-configuration.toml}
|
|
'';
|
|
};
|
|
}
|