1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00
home-manager/tests/modules/programs/sesh/basic-configuration.nix
Michael 3527c8c778
sesh: add module (#5789)
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.
2025-03-29 09:32:11 -05:00

33 lines
805 B
Nix

{ pkgs, ... }:
{
config = {
programs.fzf.tmux.enableShellIntegration = true;
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}
'';
};
}