nixos-config/backup/modules/users/applications/rofi.nix

20 lines
301 B
Nix
Raw Normal View History

{ 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;
};
};
}