From c66b7169be71df5d30692133d2acc97e400fd501 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Fri, 12 Dec 2025 14:09:52 -0800 Subject: [PATCH] Use pkgs.quickshell directly --- modules/components/quickshell-service.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/components/quickshell-service.nix b/modules/components/quickshell-service.nix index 69203e2..e50de18 100644 --- a/modules/components/quickshell-service.nix +++ b/modules/components/quickshell-service.nix @@ -7,15 +7,8 @@ let cfg = config.programs.dots-hyprland.quickshell; mainCfg = config.programs.dots-hyprland; - # Use quickshell from home.packages (user must add it) - workingQuickshell = let - quickshellPkg = pkgs.lib.findFirst - (pkg: pkg.pname or "" == "quickshell") - null - config.home.packages; - in - if quickshellPkg != null then quickshellPkg - else pkgs.quickshell or (throw "quickshell not found - add pkgs.quickshell to home.packages"); + # Use quickshell from pkgs (must be available in nixpkgs) + workingQuickshell = pkgs.quickshell; # Service startup script that handles initial setup quickshellStartup = pkgs.writeShellScript "quickshell-startup" ''