diff --git a/aspects/ai.nix b/aspects/ai.nix index f3eb6dd..637d9a3 100644 --- a/aspects/ai.nix +++ b/aspects/ai.nix @@ -1,19 +1,27 @@ { ... }: { - flake.modules.nixos.ai = - { inputs, pkgs, ... }: - { - environment.systemPackages = - (with pkgs; [ ]) - ++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [ - opencode - ]); + flake.modules = { + nixos.ai = + { inputs, pkgs, ... }: + { + environment.systemPackages = + (with pkgs; [ ]) + ++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [ + opencode + ]); - nix.settings = { - extra-substituters = [ "https://cache.numtide.com" ]; - extra-trusted-public-keys = [ - "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" - ]; + nix.settings = { + extra-substituters = [ "https://cache.numtide.com" ]; + extra-trusted-public-keys = [ + "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" + ]; + }; + }; + homeManager.ai = { + programs.opencode = { + enable = true; + settings.theme = "system"; }; }; + }; } diff --git a/aspects/users/user.nix b/aspects/users/user.nix index 68b155d..e17cc59 100644 --- a/aspects/users/user.nix +++ b/aspects/users/user.nix @@ -34,6 +34,7 @@ in gaming # other aspects + ai kde ]; }; @@ -45,6 +46,7 @@ in desktop # other aspects + ai kde ]; };