fix(ai-tools): use 'rtk' from 'nixpkgs'
This commit is contained in:
1 parent
bb2f0dcd29
commit
ddee912f51
2 files changed
+6
-24
No files matched your search
@@ -1,15 +1,17 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config."ai-tools";
|
||||
inherit (config.host) username;
|
||||
inherit (config.secrets) owner;
|
||||
in
|
||||
{
|
||||
options."ai-tools".enable = lib.mkEnableOption "AI tools";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
nixpkgs.allowedUnfree = [ "claude-code" ];
|
||||
config = lib.mkIf config."ai-tools".enable {
|
||||
nixpkgs.allowedUnfree = [
|
||||
"claude-code"
|
||||
"rtk"
|
||||
];
|
||||
secrets.opencode = [ "api-key" ];
|
||||
|
||||
sops.templates."opencode/auth.json" = {
|
||||
|
||||
Reference in new issue
Block a user