marleyos/modules/home/programs/wofi/default.nix

24 lines
371 B
Nix
Raw Normal View History

2025-01-09 08:08:30 -08:00
{
lib,
config,
pkgs,
2025-01-09 08:08:30 -08:00
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.programs.wofi;
in {
options.marleyos.programs.wofi.enable = mkEnableOption "wofi";
config = mkIf cfg.enable {
marleyos.apps.launcher = {
package = pkgs.wofi;
command = "--show drun";
};
2025-01-09 08:08:30 -08:00
programs.wofi = {
enable = true;
};
};
}