{ config, inputs, lib, pkgs, ... }: let inherit (lib.modules) mkIf; inherit (lib.options) mkEnableOption; cfg = config.modules.theming.quickshell; in { options.modules.theming.quickshell.enable = mkEnableOption "quickshell"; config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ inputs.quickshell.packages.${pkgs.stdenv.system}.quickshell qt6.qtimageformats qt6.qt5compat qt6.qtmultimedia qt6.qtdeclarative ]; # taken from outfoxxed. qt.enable = true; }; }