From 9056237e8a8ea72fc1b9c97858bb2f4355db42db Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Sun, 5 Apr 2026 18:54:03 -0400 Subject: [PATCH] fix(portal): add xdg-desktop-portal-gtk for freecad file chooser FreeCAD's save/open dialogs require the GTK portal backend for the file chooser D-Bus service. The bare gtk3 package doesn't provide this, so replace it with the portal package in the system config. --- configuration.nix | 1 + home.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 19f0507..2d1dedf 100644 --- a/configuration.nix +++ b/configuration.nix @@ -229,6 +229,7 @@ # Enable necessary services xdg.portal = { enable = true; + extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; services.pcscd.enable = true; diff --git a/home.nix b/home.nix index 42b8656..4a4c2c9 100644 --- a/home.nix +++ b/home.nix @@ -28,7 +28,6 @@ gnomeExtensions.just-perfection gnomeExtensions.arc-menu freecad - gtk3 ]; # --------------------------