Add better error message for missing quickshell

This commit is contained in:
Celes Renata
2025-12-12 13:54:08 -08:00
parent ffde0bce00
commit 7e41bde16e
+2 -2
View File
@@ -7,8 +7,8 @@ let
cfg = config.programs.dots-hyprland.quickshell;
mainCfg = config.programs.dots-hyprland;
# Use the wrapped quickshell from our overlay (includes Qt5Compat support)
workingQuickshell = pkgs.quickshell;
# Use quickshell from nixpkgs (available in 25.11+)
workingQuickshell = pkgs.quickshell or (throw "quickshell not found in nixpkgs - ensure you're using nixpkgs 25.11 or later");
# Service startup script that handles initial setup
quickshellStartup = pkgs.writeShellScript "quickshell-startup" ''