22 lines
419 B
Nix
22 lines
419 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.home.utils.rofi;
|
|
in {
|
|
options = {
|
|
home.utils.rofi.enable = mkEnableOption "Enables firefox";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
programs.rofi = {
|
|
enable = true;
|
|
package = pkgs.rofi-wayland-unwrapped;
|
|
configPath = "home/cnst/.config/rofi/config.rasi";
|
|
font = "Rec Mono Linear 11";
|
|
};
|
|
};
|
|
}
|