some refactoring

This commit is contained in:
cnst
2024-10-13 18:09:15 +02:00
parent 25a3fed51c
commit 084bc3b34f
125 changed files with 437 additions and 370 deletions

View File

@@ -5,13 +5,13 @@
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.anyrun;
cfg = config.userModules.utils.anyrun;
in {
imports = [
inputs.anyrun.homeManagerModules.default
];
options = {
modules.utils.anyrun.enable = mkEnableOption "Enables anyrun";
userModules.utils.anyrun.enable = mkEnableOption "Enables anyrun";
};
config = mkIf cfg.enable {
programs.anyrun = {