From 8f6e6b3844b3b0b59470e276bd3fe9ab04600081 Mon Sep 17 00:00:00 2001 From: ReStranger Date: Sat, 11 Apr 2026 20:16:24 +0300 Subject: [PATCH] opencode: migrate programs.opencode.{settings => tui}.theme (#2268) Migrate the deprecated programs.opencode.settings.theme declaration to programs.opencode.tui.theme, following upstream commit [1] ("opencode: add programs.opencode.tui option") [1]: https://github.com/nix-community/home-manager/commit/1089b2cabad174a2a215c022cdabe128d52588c6 Closes: https://github.com/nix-community/stylix/issues/2264 Link: https://github.com/nix-community/stylix/pull/2268 Reviewed-by: Mirza Arnaut Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> --- flake/dev/flake.lock | 6 +++--- modules/opencode/hm.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake/dev/flake.lock b/flake/dev/flake.lock index 65c611c3..48409bbc 100644 --- a/flake/dev/flake.lock +++ b/flake/dev/flake.lock @@ -118,11 +118,11 @@ ] }, "locked": { - "lastModified": 1775223910, - "narHash": "sha256-QRdehpSKTttlZe0oY2n5OCfZeCMrHkKNlWF1LJzO9tY=", + "lastModified": 1775781825, + "narHash": "sha256-L5yKTpR+alrZU2XYYvIxCeCP4LBHU5jhwSj7H1VAavg=", "owner": "nix-community", "repo": "home-manager", - "rev": "f68887a4c11e662b0eb0323d34b3fb9506226719", + "rev": "e35c39fca04fee829cecdf839a50eb9b54d8a701", "type": "github" }, "original": { diff --git a/modules/opencode/hm.nix b/modules/opencode/hm.nix index 3d983e2f..7f237f2b 100644 --- a/modules/opencode/hm.nix +++ b/modules/opencode/hm.nix @@ -8,7 +8,7 @@ mkTarget { theme = "stylix"; in { - settings = { inherit theme; }; + tui = { inherit theme; }; themes.${theme} = { theme = { accent = {