{ pkgs, config, lib, ... }: with lib; let cfg = config.erwin.rofi; in { options.erwin.rofi = { enable = mkEnableOption { description = "Enable rofi"; }; }; config = mkIf (cfg.enable) { programs.rofi = { enable = true; package = myPkgs.rofi-wayland; }; }; }