flake update

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

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" "-"];