nix-config/home/wm/rofi.nix
Bruno BELANYI c56517497a home: wm: use explicit 'enable' options
This is so that I can explicitly enable them if I were to use Wayland
and Sway, given that they should be compatible with both environment.

This also means that putting them in `/home/x/` would a misnomer... Will
revisit this if and when I try out Wayland and sway...
2021-05-08 17:14:13 +02:00

20 lines
305 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.wm.rofi;
in
{
config = lib.mkIf cfg.enable {
programs.rofi = {
enable = true;
package = pkgs.rofi.override {
plugins = with pkgs; [
rofi-emoji
];
};
theme = "gruvbox-dark-hard";
};
};
}