Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78c7388192 | ||
|
|
81093e2b69 | ||
|
|
74a11e0e63 | ||
|
|
f77dea3e42 | ||
|
|
0776c9a63e | ||
|
|
82109a74ff | ||
|
|
9ad228fd0e |
@@ -1,17 +1,15 @@
|
||||
{ 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 config."ai-tools".enable {
|
||||
nixpkgs.allowedUnfree = [
|
||||
"claude-code"
|
||||
"rtk"
|
||||
];
|
||||
config = lib.mkIf cfg.enable {
|
||||
nixpkgs.allowedUnfree = [ "claude-code" ];
|
||||
secrets.opencode = [ "api-key" ];
|
||||
|
||||
sops.templates."opencode/auth.json" = {
|
||||
|
||||
Reference in new issue
Block a user