flake update
This commit is contained in:
1 parent
e915e5ea19
commit
561b174ddc
3 files changed
+19
-10
No files matched your search
@@ -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