Enables GSettings schemas for Hyprland

Adds the GSettings schema directory path so runtime lookups can find desktop schemas, and includes the gsettings-desktop-schemas package to provide the necessary schemas. This ensures GTK/Qt applications and theming work correctly under Hyprland by enabling proper GSettings/gtk portal support.
This commit is contained in:
elwrcl committed 2026-04-12 16:44:32 +03:00
1 parent dd74f68550
commit 42120d7de6
2 files changed
+2

No files matched your search

@@ -28,5 +28,6 @@
"/home/elars/.nix-profile/share" "/home/elars/.nix-profile/share"
]; ];
GTK_USE_PORTAL = "1"; GTK_USE_PORTAL = "1";
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas";
}; };
} }
+1
View File
@@ -22,6 +22,7 @@ with pkgs; {
qt6Packages.qtdeclarative qt6Packages.qtdeclarative
qt6Packages.qtwayland qt6Packages.qtwayland
qt6Packages.qtwebsockets qt6Packages.qtwebsockets
gsettings-desktop-schemas
adwaita-qt adwaita-qt
adwaita-qt6 adwaita-qt6
mesa mesa