configuration.nix/home/desktop/wm/addon/rofi/default.nix

25 lines
487 B
Nix

{ pkgs, ... }: {
programs.rofi = {
enable = true;
cycle = false;
package = pkgs.rofi-wayland;
font = "FiraCode Nerd Font 16";
extraConfig = {
show-icons = true;
};
theme = ./theme.rasi;
};
xdg.desktopEntries = {
"rofi" = {
name = "Rofi";
exec = "rofi -show";
noDisplay = true;
};
"rofi-theme-selector" = {
name = "Rofi Theme Selector";
exec = "rofi-theme-selector";
noDisplay = true;
};
};
}