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

21 lines
352 B
Nix
Raw Normal View History

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