nix/home-manager/shared/programs/shell/pi/default.nix

31 lines
514 B
Nix

{
inputs,
config,
pkgs,
...
}:
{
imports = [ inputs.sops-nix.homeManagerModules.sops ];
sops = {
age.keyFile = "/home/e/.config/sops/age/keys.txt";
secrets = {
"pi.json" = {
key = "";
format = "json";
sopsFile = ../../../../../secrets/pi.json;
path = "${config.home.homeDirectory}/.pi/agent/auth.json";
};
};
};
home.packages = with pkgs; [
llm-agents.pi
];
home.file.".pi" = {
source = ./config;
recursive = true;
};
}