2021-11-03 23:05:12 +01:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let cfg = config.erwin.rofi;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.erwin.rofi = {
|
|
|
|
enable = mkEnableOption {
|
|
|
|
description = "Enable rofi";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf (cfg.enable) {
|
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
2021-11-16 00:22:18 +01:00
|
|
|
package = pkgs.rofi-wayland;
|
2021-11-03 23:05:12 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|