nix-config/home/wm/rofi.nix

20 lines
327 B
Nix
Raw Normal View History

2021-04-04 21:28:44 +02:00
{ config, lib, pkgs, ... }:
let
isEnabled = config.my.home.wm.windowManager == "i3";
in
{
config = lib.mkIf isEnabled {
programs.rofi = {
enable = true;
package = pkgs.rofi.override {
plugins = with pkgs; [
rofi-emoji
];
};
theme = "gruvbox-dark-hard";
};
};
}