opencode system theme

This commit is contained in:
William 2026-03-28 18:50:51 -03:00
parent 1d414a346c
commit 7da1e394c4
2 changed files with 23 additions and 13 deletions

View file

@ -1,19 +1,27 @@
{ ... }: { ... }:
{ {
flake.modules.nixos.ai = flake.modules = {
{ inputs, pkgs, ... }: nixos.ai =
{ { inputs, pkgs, ... }:
environment.systemPackages = {
(with pkgs; [ ]) environment.systemPackages =
++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [ (with pkgs; [ ])
opencode ++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [
]); opencode
]);
nix.settings = { nix.settings = {
extra-substituters = [ "https://cache.numtide.com" ]; extra-substituters = [ "https://cache.numtide.com" ];
extra-trusted-public-keys = [ extra-trusted-public-keys = [
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
]; ];
};
};
homeManager.ai = {
programs.opencode = {
enable = true;
settings.theme = "system";
}; };
}; };
};
} }

View file

@ -34,6 +34,7 @@ in
gaming gaming
# other aspects # other aspects
ai
kde kde
]; ];
}; };
@ -45,6 +46,7 @@ in
desktop desktop
# other aspects # other aspects
ai
kde kde
]; ];
}; };