{ config, lib, pkgs, ... }: let cfg = config.modules.stylix; in { options = { modules.stylix = { enable = lib.mkEnableOption "Enable the stylix module"; }; }; config = lib.mkIf cfg.enable { stylix = { enable = true; polarity = "dark"; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-frappe.yaml"; cursor = { package = pkgs.adwaita-icon-theme; name = "Adwaita"; size = 24; }; fonts = { serif = lib.mkDefault { package = pkgs.noto-fonts; name = "Noto Serif"; }; sansSerif = lib.mkDefault { package = pkgs.noto-fonts; name = "Noto Sans"; }; monospace = lib.mkDefault { package = pkgs.intel-one-mono; name = "Intel One Mono"; }; emoji = { package = pkgs.noto-fonts-color-emoji; name = "Noto Color Emoji"; }; sizes = lib.mkDefault { terminal = 14; applications = 14; desktop = 12; }; }; targets = { gtk.enable = false; gnome.enable = false; }; image = lib.mkDefault ../wallpapers/nix-wallpaper-nineish-catppuccin-frappe-alt.svg; }; }; }