attempt to fix flatpaks not appearing in tofi

This commit is contained in:
2025-11-07 20:54:57 -06:00
parent 0534a04108
commit f5ff1a6639
2 changed files with 10 additions and 3 deletions

View File

@@ -36,9 +36,12 @@ in {
templates = "${home_dir}/templates";
};
# mimeApps = {
# "<type>" = ["<desktop file>"]
# };
mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = ["org.pwmt.zathura.desktop"];
};
};
};
# misc env variables to get things out of ~ (<3 xdg-ninja)

View File

@@ -21,6 +21,10 @@ in {
config = lib.mkIf cfg.enable {
home.sessionVariables = {
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share";
};
# install the cli
home.packages = with pkgs; [ flatpak ];