From f507cada32f47e3a311e1ceaa69e4de546388b06 Mon Sep 17 00:00:00 2001 From: datsudo <76833632+datsudo@users.noreply.github.com> Date: Fri, 6 Jun 2025 19:06:35 +0800 Subject: [PATCH] fix: flatpak apps not opening links in browser - Solve by auto-restarting xdg-desktop-portal.service --- system/configuration.nix | 2 +- user/hyprland.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/configuration.nix b/system/configuration.nix index 86a13ac..e8c6b3e 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -53,7 +53,7 @@ xdg.portal = { extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - config.common.default = "gtk"; + config.common.default = "*"; }; ### HARDWARE diff --git a/user/hyprland.nix b/user/hyprland.nix index 4d20847..4768782 100644 --- a/user/hyprland.nix +++ b/user/hyprland.nix @@ -238,6 +238,7 @@ }; systemd.variables = [ "--all" ]; + systemd.extraCommands = [ "systemctl --user restart xdg-desktop-portal.service" ]; }; home.packages = with pkgs; [