File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 " Bash(nix flake check)" ,
55 " Bash(rg:*)" ,
66 " Bash(mkdir:*)" ,
7- " Bash(git add:*)"
7+ " Bash(git add:*)" ,
8+ " WebFetch(domain:raw.githubusercontent.com)" ,
9+ " WebFetch(domain:github.com)" ,
10+ " WebSearch"
811 ],
912 "deny" : []
1013 }
11- }
14+ }
Original file line number Diff line number Diff line change 1+ { config , ...} : {
2+ age . identityPaths = [
3+ "${ config . home . homeDirectory } /.ssh/id_ed25519_agenix"
4+ ] ;
5+
6+ age . secrets . aichat-env = {
7+ file = ../secrets/aichat-env.age ;
8+ } ;
9+
10+ programs . aichat = {
11+ enable = true ;
12+ settings = {
13+ model = "claude:claude-sonnet-4-20250514" ;
14+ clients = [
15+ { type = "claude" ; }
16+ ] ;
17+ } ;
18+ } ;
19+
20+ programs . zsh . sessionVariables = {
21+ AICHAT_ENV_FILE = config . age . secrets . aichat-env . path ;
22+ } ;
23+ }
Original file line number Diff line number Diff line change 11{ pkgs , ...} : {
22 imports = [
3+ ./aichat.nix
34 ./starship.nix
45 ./tmux.nix
56 ./zsh.nix
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ inputs @ {
3434 home-manager . users . ${ username } = { ...} : {
3535 imports =
3636 [
37+ agenix . homeManagerModules . default
3738 ./../modules/home
3839 ./../home
3940 ]
Original file line number Diff line number Diff line change 55 glyphSecrets = import ./secrets/glyph.nix ;
66 sporeSecrets = import ./secrets/spore.nix ;
77 zetaSecrets = import ./secrets/zeta.nix ;
8+ homeSecrets = import ./secrets/home.nix ;
89in
910 globalSecrets
1011 // glyphSecrets
1112 // sporeSecrets
1213 // zetaSecrets
14+ // homeSecrets
Original file line number Diff line number Diff line change 1+ let
2+ keys = with ( import ../keys.nix ) ; [ home Rhizome ] ;
3+ in {
4+ "home/secrets/aichat-env.age" . publicKeys = keys ;
5+ }
You can’t perform that action at this time.
0 commit comments