Refractor to dendritic approach.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{...}: {
|
||||
config.flake.modules.homeManager.opencode = {
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.azos.opencode.enable = lib.mkOption {
|
||||
default = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
config = lib.mkIf config.azos.opencode.enable {
|
||||
programs.opencode.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user