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