Files
cnix/home/modules/utils/rofi/default.nix
2024-08-17 18:28:42 +02:00

22 lines
425 B
Nix

{
pkgs,
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.rofi;
in {
options = {
modules.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";
};
};
}