feat: use yazi as file manager

This commit is contained in:
DACHXY 2025-01-26 14:45:49 +08:00
parent 3049173514
commit 2a73c71067
6 changed files with 28 additions and 11 deletions

View file

@ -1,5 +1,6 @@
let
configDir = ../config;
browser = "firefox-nightly.desktop";
in
{
home.file = {
@ -39,4 +40,12 @@ in
source = "${configDir}/yazi";
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = browser;
"application/pdf" = browser;
};
};
}