24 lines
409 B
Nix
24 lines
409 B
Nix
{ 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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|