mirror of
https://github.com/nix-community/home-manager.git
synced 2025-04-13 15:57:47 +00:00
34 lines
805 B
Nix
34 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}
|
||
|
'';
|
||
|
};
|
||
|
}
|