{ lib, config, pkgs, ...}: let cfg = config.stylixSetup; in { options = { stylixSetup.enable = lib.mkEnableOption "Enable Module"; }; config = lib.mkIf cfg.enable { stylix = { # targets.qt.platform = lib.mkForce "kde"; enable = true; # targets.qt.platform = "kde6"; autoEnable = true; base16Scheme = { scheme = "Catppuccin Macchiato Mauve"; author = "https://github.com/catppuccin/catppuccin"; base00 = "24273a"; base01 = "1e2030"; base02 = "363a4f"; base03 = "494d64"; base04 = "5b6078"; base05 = "cad3f5"; base06 = "f4dbd6"; base07 = "b7bdf8"; base08 = "ed8796"; base09 = "f5a97f"; base0A = "eed49f"; base0B = "a6da95"; base0C = "8bd5ca"; base0D = "c6a0f6"; base0E = "8aadf4"; base0F = "f0c6c6"; }; image = ./background.jpg; cursor.package = pkgs.catppuccin-cursors.macchiatoMauve; cursor.name = "catppuccin-macchiato-mauve-cursors"; cursor.size = 24; homeManagerIntegration.followSystem = true; fonts = { serif = { package = pkgs.atkinson-hyperlegible; name = "Atkinson Hyperlegible Next"; }; monospace = { package = pkgs.atkinson-hyperlegible-mono; name = "Atkinson Hyperlegbile Mono"; }; sansSerif = { package = pkgs.atkinson-hyperlegible; name = "Atkinson Hyperlegible Next"; }; emoji = { package = pkgs.noto-fonts-emoji-blob-bin; name = "Blobmoji"; }; }; }; }; }