mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
21 lines
420 B
Nix
21 lines
420 B
Nix
{ pkgs, ... }:
|
|
{
|
|
config =
|
|
{
|
|
programs.yazi.enable = true;
|
|
nixos.user.sharedModules =
|
|
[{
|
|
config.programs.yazi =
|
|
{
|
|
enable = true;
|
|
keymap.mgr.append_keymap =
|
|
[
|
|
{ on = "T"; run = "shell --orphan ghostty"; }
|
|
{ on = [ "c" "a" "a" ]; run = "plugin compress"; }
|
|
];
|
|
plugins = { inherit (pkgs.yaziPlugins) compress; };
|
|
};
|
|
}];
|
|
};
|
|
}
|