2025-12-07 00:15:26 -06:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2025-07-01 22:33:18 -04:00
|
|
|
{
|
2025-07-28 22:13:03 -05:00
|
|
|
home.packages =
|
|
|
|
|
with pkgs;
|
|
|
|
|
[
|
2025-10-16 17:23:21 -05:00
|
|
|
attic-client
|
2025-07-28 22:13:03 -05:00
|
|
|
dig
|
|
|
|
|
jqp
|
2025-09-15 22:20:53 -04:00
|
|
|
kubernetes-helm
|
2025-07-28 22:13:03 -05:00
|
|
|
iamb
|
2025-09-16 09:51:33 -05:00
|
|
|
lazyssh
|
2025-07-28 22:13:03 -05:00
|
|
|
rainfrog
|
|
|
|
|
tenere
|
2025-09-22 08:57:47 -05:00
|
|
|
uv
|
2025-07-28 22:13:03 -05:00
|
|
|
wiki-tui
|
|
|
|
|
]
|
|
|
|
|
++ (lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
|
|
|
|
impala
|
|
|
|
|
]);
|
2025-07-24 09:56:18 -05:00
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
|
zellij = {
|
|
|
|
|
enable = true;
|
|
|
|
|
enableZshIntegration = pkgs.stdenv.hostPlatform.isDarwin;
|
|
|
|
|
settings = {
|
2025-12-05 14:16:06 -06:00
|
|
|
#default_shell = "xonsh";
|
|
|
|
|
default_shell = lib.getExe config.programs.nushell.package;
|
2025-08-11 14:04:51 -05:00
|
|
|
plugins = {
|
|
|
|
|
autolock = {
|
|
|
|
|
_props.location = "https://github.com/fresh2dev/zellij-autolock/releases/download/0.2.2/zellij-autolock.wasm";
|
2025-08-15 22:59:11 -05:00
|
|
|
_children = [
|
|
|
|
|
{
|
|
|
|
|
is_enabled = true;
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
triggers = "nvim|vim|git";
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
reaction_seconds = "0.3";
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
print_to_log = true;
|
|
|
|
|
}
|
|
|
|
|
];
|
2025-08-11 14:04:51 -05:00
|
|
|
};
|
|
|
|
|
};
|
2025-08-15 22:59:11 -05:00
|
|
|
load_plugins.autolock = { };
|
2025-07-24 09:56:18 -05:00
|
|
|
keybinds = {
|
|
|
|
|
normal._children = [
|
|
|
|
|
{
|
|
|
|
|
bind = {
|
2025-08-11 14:04:51 -05:00
|
|
|
_args = [ "Enter" ];
|
2025-08-15 22:59:11 -05:00
|
|
|
_children = [
|
|
|
|
|
{
|
|
|
|
|
WriteChars = "\\u{000D}";
|
|
|
|
|
MessagePlugin = {
|
|
|
|
|
_args = [ "autolock" ];
|
|
|
|
|
_children = [ { } ];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
2025-08-11 14:04:51 -05:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
]; # /normal
|
|
|
|
|
locked._children = [
|
2025-12-05 14:16:06 -06:00
|
|
|
{
|
|
|
|
|
unbind = {
|
|
|
|
|
_args = [ "Ctrl g" ];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
shared._children = [
|
2025-08-11 14:04:51 -05:00
|
|
|
{
|
|
|
|
|
bind = {
|
|
|
|
|
_args = [ "Ctrl z" ];
|
|
|
|
|
_children = [
|
|
|
|
|
{
|
|
|
|
|
MessagePlugin = {
|
|
|
|
|
_args = [ "autolock" ];
|
|
|
|
|
_children = [
|
|
|
|
|
{
|
2025-12-05 14:16:06 -06:00
|
|
|
payload._args = [ "toggle" ];
|
2025-08-11 14:04:51 -05:00
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
SwitchToMode._args = [ "Normal" ];
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
]; # /locked
|
|
|
|
|
shared_except = {
|
|
|
|
|
_args = [ "locked" ];
|
2025-08-15 22:59:11 -05:00
|
|
|
_children = [
|
|
|
|
|
{
|
|
|
|
|
bind = {
|
|
|
|
|
_args = [ "Ctrl h" ];
|
|
|
|
|
MoveFocusOrTab._args = [ "Left" ];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
bind = {
|
|
|
|
|
_args = [ "Ctrl j" ];
|
|
|
|
|
MoveFocus._args = [ "Down" ];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
bind = {
|
|
|
|
|
_args = [ "Ctrl k" ];
|
|
|
|
|
MoveFocus._args = [ "Up" ];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
bind = {
|
|
|
|
|
_args = [ "Ctrl l" ];
|
|
|
|
|
MoveFocusOrTab._args = [ "Right" ];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
2025-08-11 14:04:51 -05:00
|
|
|
}; # /shared_except
|
2025-07-24 09:56:18 -05:00
|
|
|
}; # /keybinds
|
|
|
|
|
}; # /settings
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-07-01 22:33:18 -04:00
|
|
|
}
|