From 866a004fd2028cb71d1113213ef69285f72421aa Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sun, 10 Aug 2025 12:26:06 -0700 Subject: [PATCH] Fix quickshell overlay script name and add Qt positioning modules - Change writeShellScriptBin from 'qs' to 'quickshell' to match package name - Add QtPositioning and QtLocation to QML2_IMPORT_PATH in overlay - This should resolve the circular reference and QtPositioning module issues --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index df4d983..248d5a9 100644 --- a/flake.nix +++ b/flake.nix @@ -24,9 +24,9 @@ { overlays.default = final: prev: { # Enhanced quickshell with Qt5Compat support for dots-hyprland - quickshell = final.writeShellScriptBin "qs" '' - # Add Qt5Compat and quickshell config directories to QML import path - export QML2_IMPORT_PATH="${final.kdePackages.qt5compat}/lib/qt-6/qml:$HOME/.config/quickshell/ii:$HOME/.config/quickshell:$QML2_IMPORT_PATH" + quickshell = final.writeShellScriptBin "quickshell" '' + # Add Qt5Compat, QtPositioning, and quickshell config directories to QML import path + export QML2_IMPORT_PATH="${final.kdePackages.qt5compat}/lib/qt-6/qml:${final.kdePackages.qtpositioning}/lib/qt-6/qml:${final.kdePackages.qtlocation}/lib/qt-6/qml:$HOME/.config/quickshell/ii:$HOME/.config/quickshell:$QML2_IMPORT_PATH" # Execute the original quickshell exec ${quickshell.packages.${system}.default}/bin/qs "$@"