big module system implementation
This commit is contained in:
23
home/modules/utils/anyrun/default.nix
Normal file
23
home/modules/utils/anyrun/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.utils.anyrun;
|
||||
in {
|
||||
imports = [
|
||||
inputs.anyrun.homeManagerModules.default
|
||||
];
|
||||
options = {
|
||||
modules.utils.anyrun.enable = mkEnableOption "Enables anyrun";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.anyrun = {
|
||||
enable = true;
|
||||
|
||||
#extraCss = builtins.readFile (./. + "/style-dark.css");
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user