attempt to fix flatpaks not appearing in tofi
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user