dotfiles/modules/home/programs/rofi/default.nix

27 lines
479 B
Nix
Raw Normal View History

2024-08-03 03:31:39 +00:00
{
config,
lib,
namespace,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.programs.rofi;
in {
options.${namespace}.programs.rofi = {
enable = mkEnableOption "rofi";
};
config = mkIf cfg.enable {
programs.rofi = {
enable = true;
# TODO: How to ensure this font is installed?
font = "Hack Nerd Font 10";
theme = "gruvbox-dark-hard";
extraConfig = {
show-icons = true;
};
};
};
}