19 lines
301 B
Nix
19 lines
301 B
Nix
{ 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;
|
|
package = myPkgs.rofi-wayland;
|
|
};
|
|
};
|
|
}
|