aboutsummaryrefslogtreecommitdiff
path: root/nix/users/profiles/secrets.nix
blob: 65131df932019b1e754c8cfecf2c6acda8917d4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ self, config, ... }:
{
  age = {
    identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ];
    secretsDir = "${config.home.homeDirectory}/.local/share/agenix";

    secrets = {
      llm = {
        file = "${self}/secrets/users/fcuny/llm.age";
        path = "${config.home.homeDirectory}/.config/llm/keys.json";
      };
      anthropic-api-key = {
        file = "${self}/secrets/users/fcuny/anthropic-api-key.age";
      };
    };
  };
}