nix/modules/wm/rofi/default.nix

27 lines
501 B
Nix
Raw Normal View History

2024-11-24 21:35:15 +01:00
{
lib,
config,
username,
pkgs,
nixpath,
...
}: {
options = {
rofi.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.rofi.enable {
home-manager.users.${username} = {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = "${nixpath}/modules/wm/rofi/gruvbox-material.rasi";
extraConfig = {
display-drun = "";
show-icons = true;
terminal = "foot";
};
};
};
};
}