feat(anyrun): initial anyrun configuration

This commit is contained in:
ooks-io 2024-03-04 15:43:59 +13:00
parent 1d1cc63f5e
commit 7d3d715408
7 changed files with 92 additions and 4 deletions

View file

@ -0,0 +1,24 @@
{ config, lib, inputs, pkgs, ... }:
let
cfg = config.homeModules.desktop.wayland.launcher.anyrun;
in
{
imports = [
inputs.anyrun.homeManagerModules.default
];
config = lib.mkIf cfg.enable {
programs.anyrun = {
enable = true;
config = {
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
randr
];
};
};
};
}

View file

@ -0,0 +1,13 @@
{ lib, ... }:
{
imports = [
./anyrun
];
options.homeModules.desktop.wayland.launcher = {
anyrun = {
enable = lib.mkEnableOption "enable anyrun launcher module";
};
};
}