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]: 1089b2caba

Closes: https://github.com/nix-community/stylix/issues/2264
Link: https://github.com/nix-community/stylix/pull/2268

Reviewed-by: Mirza Arnaut <mirza.arnaut45@gmail.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
ReStranger 2026-04-11 20:16:24 +03:00 committed by GitHub
parent d27951a653
commit 8f6e6b3844
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

6
flake/dev/flake.lock generated
View file

@ -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": {

View file

@ -8,7 +8,7 @@ mkTarget {
theme = "stylix";
in
{
settings = { inherit theme; };
tui = { inherit theme; };
themes.${theme} = {
theme = {
accent = {