{ config, lib, pkgs, ... }: { programs.rofi = { cycle = lib.mkDefault true; theme = lib.mkIf (config.lib ? stylix) (lib.mkForce (config.lib.stylix.colors { template = builtins.readFile config.personal.home.dotfiles.rofi; extension = ".rasi"; }) .out); plugins = with pkgs; [rofi-top rofi-calc rofi-emoji]; }; }