attempt to fix flatpaks not appearing in tofi
This commit is contained in:
@@ -36,9 +36,12 @@ in {
|
|||||||
templates = "${home_dir}/templates";
|
templates = "${home_dir}/templates";
|
||||||
};
|
};
|
||||||
|
|
||||||
# mimeApps = {
|
mimeApps = {
|
||||||
# "<type>" = ["<desktop file>"]
|
enable = true;
|
||||||
# };
|
defaultApplications = {
|
||||||
|
"application/pdf" = ["org.pwmt.zathura.desktop"];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# misc env variables to get things out of ~ (<3 xdg-ninja)
|
# misc env variables to get things out of ~ (<3 xdg-ninja)
|
||||||
|
|||||||
@@ -21,6 +21,10 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
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
|
# install the cli
|
||||||
home.packages = with pkgs; [ flatpak ];
|
home.packages = with pkgs; [ flatpak ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user