nix-dotfiles/hm_modules/rofi.nix

25 lines
628 B
Nix

{ pkgs, ... }: {
home.packages = builtins.attrValues {
inherit (pkgs)
rofimoji
rofi-bluetooth
rofi-power-menu
rofi-vpn
xdotool
;
};
programs.rofi = {
enable = true;
location = "center";
font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
plugins = [ pkgs.rofi-calc ];
extraConfig = { modi = "drun,run,ssh,window,calc"; };
terminal = "alacritty";
theme = "onedark";
};
xdg.configFile."rofi/nord.rasi".source = ../configs/rofi/nord.rasi;
xdg.configFile."rofi/onedark.rasi".source = ../configs/rofi/onedark.rasi;
}