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

20 lines
299 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;
2021-11-16 00:22:18 +01:00
package = pkgs.rofi-wayland;
};
};
}