1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ pkgs, lib, config, ... }: { options.tools.rofi = { enable = lib.mkEnableOption "Enables rofi."; }; config = lib.mkIf config.tools.rofi.enable { programs.rofi.enable = true; programs.rofi.font = "${config.fonts.normal} ${toString config.fonts.size}"; # programs.rofi.theme = config.scheme { # template = builtins.readFile ./theme.mustache.rasi; # }; }; }