nixos-config/backup/modules/users/applications/rofi.nix
2021-11-12 07:23:46 +01:00

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