flake update
This commit is contained in:
@@ -91,6 +91,15 @@ in {
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
extraPlugins = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
description = ''
|
||||
Additional opencode plugins to add to the plugin list.
|
||||
Each entry is a path or package name passed to opencode's plugin array.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
@@ -124,7 +133,7 @@ in {
|
||||
settings = mkMerge [
|
||||
{
|
||||
theme = "opencode";
|
||||
plugin = ["oh-my-opencode"];
|
||||
plugin = ["oh-my-opencode"] ++ cfg.extraPlugins;
|
||||
formatter = {
|
||||
alejandra = {
|
||||
command = ["alejandra" "-q" "-"];
|
||||
|
||||
Reference in New Issue
Block a user