Updated flake;
Removed gale overlay port 8000 now always open for temporary services. updated mpv config Added mount.yazi plugin
This commit is contained in:
parent
1e1736e14b
commit
eb6a366283
8 changed files with 188 additions and 445 deletions
|
|
@ -1,5 +1,26 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
udisks2 = osConfig.services.udisks2.enable;
|
||||
yPlugins = pkgs.yaziPlugins;
|
||||
in {
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
plugins = {
|
||||
full-border = yPlugins.full-border;
|
||||
mount = mkIf udisks2 yPlugins.mount;
|
||||
};
|
||||
keymap.manager.prepend_keymap =
|
||||
lib.optionals udisks2
|
||||
[
|
||||
{
|
||||
on = "M";
|
||||
run = "plugin mount";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue