27 lines
501 B
Nix
27 lines
501 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|