flake update

This commit is contained in:
sascha.koenig committed 2026-04-01 14:10:41 +02:00
1 parent e915e5ea19
commit 561b174ddc
3 files changed
+19 -10

No files matched your search

+10 -1
View File
@@ -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" "-"];