Files
cnix/modules/home/programs/rofi/default.nix
2025-09-14 21:56:15 +02:00

30 lines
547 B
Nix

{
pkgs,
config,
lib,
...
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.home.programs.rofi;
in
{
options = {
home.programs.rofi.enable = mkEnableOption "Enables firefox";
};
config = mkIf cfg.enable {
programs.rofi = {
enable = true;
package = pkgs.rofi;
theme = ./style.rasi;
font = "Input Mono Narrow Light 12";
extraConfig = {
show-icons = true;
drun-display-format = "{name}";
disable-history = false;
sidebar-mode = false;
};
};
};
}