dotfiles/modules/home/programs/rofi/default.nix
alejandro-angulo a3ac254912
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Fix issues after updating lockfile
2026-01-19 08:48:51 -08:00

32 lines
564 B
Nix

{
config,
lib,
pkgs,
namespace,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.programs.rofi;
in
{
options.${namespace}.programs.rofi = {
enable = mkEnableOption "rofi";
};
config = mkIf cfg.enable {
catppuccin.rofi.enable = true;
programs.rofi = {
enable = true;
# TODO: How to ensure this font is installed?
font = "Hack Nerd Font 10";
plugins = [ pkgs.rofi-emoji ];
extraConfig = {
show-icons = true;
modi = "window,run,ssh,emoji";
};
};
};
}