Compare commits

..
7 Commits
Author SHA1 Message Date
hektor 3893fb6078 fix(wol): generalize 'wol-*' scripts
check / lint (push) Successful in 15s
2026-10-25 17:37:20 +01:00
hektor 715bf6140f fix(browser): use 'browser' group for KeePassXC browser credentials 2026-10-25 17:37:20 +01:00
hektor 96d838db75 fix(3d): modularize 3D module 2026-10-25 17:37:20 +01:00
hektor 445bdde2dc fix(ssh): further harden SSH 2026-10-25 17:37:20 +01:00
hektor 432a4c107a fix(backups): improve reliability 2026-10-25 17:37:20 +01:00
hektor 4498e8303c fix(ai-tools): bump 'ccline' 2026-10-25 17:37:20 +01:00
hektor ddee912f51 fix(ai-tools): use 'rtk' from 'nixpkgs' 2026-10-25 17:37:19 +01:00
+5 -3
View File
@@ -1,15 +1,17 @@
{ lib, config, ... }: { lib, config, ... }:
let let
cfg = config."ai-tools";
inherit (config.host) username; inherit (config.host) username;
inherit (config.secrets) owner; inherit (config.secrets) owner;
in in
{ {
options."ai-tools".enable = lib.mkEnableOption "AI tools"; options."ai-tools".enable = lib.mkEnableOption "AI tools";
config = lib.mkIf cfg.enable { config = lib.mkIf config."ai-tools".enable {
nixpkgs.allowedUnfree = [ "claude-code" ]; nixpkgs.allowedUnfree = [
"claude-code"
"rtk"
];
secrets.opencode = [ "api-key" ]; secrets.opencode = [ "api-key" ];
sops.templates."opencode/auth.json" = { sops.templates."opencode/auth.json" = {