Hello everyone
Im having issues with getting default application to work. For example clicking links in the terminal results in this error:
Running xdg-open https://google.com
results in the same thing.
With verbose output XDG_UTILS_DEBUG_LEVEL=2 xdg-open https://google.com
results in:
Selected DE flatpak
(objectpath '/org/freedesktop/portal/desktop/request/1_80/t',)
And the same error popup of course.
My full nixos config can be found at GitHub - ketamin00/nixos-config: Personal NixOS Config
Relevant snippets:
XDG portals:
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-wlr
];
config = {
common.default = ["gtk" "wlr"];
};
};
XDG mime stuff:
xdg = {
enable = true;
mime.enable = true;
mimeApps = {
enable = true;
defaultApplications = {
"x-scheme-handler/http" = ["firefox.desktop"];
"x-scheme-handler/https" = "firefox.desktop";
};
};
userDirs = {
enable = true;
createDirectories = true;
};
};
Really stumped about this issue, any help or pointers to relevant ressources are appreciated