home: wm: add rofi

This commit is contained in:
Bruno BELANYI 2021-04-04 19:28:44 +00:00
parent 1da8177ea2
commit cdbe16e703
2 changed files with 20 additions and 0 deletions

View file

@ -3,6 +3,7 @@
imports = [
./i3.nix
./i3bar.nix
./rofi.nix
];
options.my.home.wm = with lib; {

19
home/wm/rofi.nix Normal file
View file

@ -0,0 +1,19 @@
{ 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";
};
};
}