From 42120d7de665e100b330c47358c3d8321e938a5b Mon Sep 17 00:00:00 2001 From: elwrcl Date: Sun, 12 Apr 2026 16:44:32 +0300 Subject: [PATCH] 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. --- nixos/desktop/window-managers/hyprland.nix | 1 + packages.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/nixos/desktop/window-managers/hyprland.nix b/nixos/desktop/window-managers/hyprland.nix index d4b6567..47c77f4 100644 --- a/nixos/desktop/window-managers/hyprland.nix +++ b/nixos/desktop/window-managers/hyprland.nix @@ -28,5 +28,6 @@ "/home/elars/.nix-profile/share" ]; GTK_USE_PORTAL = "1"; + GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas"; }; } diff --git a/packages.nix b/packages.nix index 935fe9e..c4ae8b6 100644 --- a/packages.nix +++ b/packages.nix @@ -22,6 +22,7 @@ with pkgs; { qt6Packages.qtdeclarative qt6Packages.qtwayland qt6Packages.qtwebsockets + gsettings-desktop-schemas adwaita-qt adwaita-qt6 mesa