Add zellij config

This commit is contained in:
muon 2025-09-25 10:22:54 +00:00
parent 70c21b81ed
commit fe2c22214e
4 changed files with 337 additions and 1 deletions

View file

@ -33,6 +33,93 @@
enableZshIntegration = lib.mkIf config.mods.terminal.zsh.enable true;
};
programs.zellij = {
settings = {
default_mode._args = ["locked"];
show_startup_tips._args = [false];
show_release_notes._args = [false];
};
extraConfig = builtins.readFile ./zellij.kdl;
layouts = {
dev = {
layout = {
_children = [
{
default_tab_template = {
_children = [
{
pane = {
size = 1;
borderless = true;
plugin = {
location = "zellij:tab-bar";
};
};
}
{"children" = {};}
{
pane = {
size = 2;
borderless = true;
plugin = {
location = "zellij:status-bar";
};
};
}
];
};
}
{
tab = {
_props = {
name = "Project";
focus = true;
};
_children = [
{
pane = {
command = "nvim";
};
}
];
};
}
{
tab = {
_props = {
name = "Run";
};
_children = [
{
pane = {
command = "zsh";
};
}
];
};
}
{
tab = {
_props = {
name = "Test";
};
_children = [
{
pane = {
command = "zsh";
};
}
];
};
}
];
};
};
};
};
home.sessionVariables.EDITOR = "hx";
programs.zsh.sessionVariables.EDITOR = "hx";