{ config, lib, ... }: { options.homeconfig.quickshell.enable = with lib; mkOption { type = with types; bool; default = false; }; config = lib.mkIf config.homeconfig.quickshell.enable { programs.quickshell = { enable = true; configs = { default = config.homeDirectory + "/${config.home.file.".config/quickshell".target}"; }; systemd = { enable = true; target = lib.mkIf config.homeconfig.hyprland.enable "wayland-session@Hyprland.target"; }; activeConfig = "default"; }; }; }