{ pkgs, inputs, config, lib, ... }: let cfg = config.pim.stylix; in { imports = [inputs.stylix.nixosModules.stylix]; options.pim.stylix.enable = lib.mkEnableOption "stylix"; config = lib.mkIf cfg.enable { stylix = { enable = true; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; image = "${inputs.nixos-artwork}/wallpapers/nix-wallpaper-binary-blue.png"; cursor = { package = pkgs.bibata-cursors; name = "Bibata-Modern-Classic"; size = 28; }; fonts = { monospace = { package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}; name = "JetBrainsMono Nerd Font Mono"; }; sansSerif = { package = pkgs.dejavu_fonts; name = "DejaVu Sans"; }; serif = { package = pkgs.dejavu_fonts; name = "DejaVu Serif"; }; }; }; }; }