chore: hermes update

This commit is contained in:
m3tm3re
2026-04-21 19:00:49 +02:00
parent 90fbdfe346
commit 382b4c8c98
11 changed files with 77 additions and 147 deletions

View File

@@ -5,7 +5,6 @@
./mem0.nix
# ./n8n.nix
./netbird.nix
./pi-agent.nix
./postgres.nix
./sound.nix
./udev.nix

View File

@@ -1,52 +0,0 @@
{config, ...}: let
cfg = config.m3ta.pi-agent;
in {
m3ta.pi-agent = {
enable = true;
binaryName = "pi";
# Per-user policy map: authorized host users + their allowed project roots.
hostUsers = {
m3tam3re = {
projectRoots = ["~/p"];
# Optional (default comes from wrapper.hostConfigPath)
configPath = ".pi/agents";
};
};
wrapper = {
enable = true;
commandName = "pi";
hideDirectBinary = true;
# Sync Home Manager rendered Pi config from invoking user home.
hostConfigPath = ".pi/agents";
};
};
# Manage isolated pi-agent git identity via Home Manager (declarative + reusable pattern).
home-manager.users.${cfg.user} = {
home.username = cfg.user;
home.homeDirectory = cfg.stateDir;
home.stateVersion = "26.05";
programs.git = {
enable = true;
signing.format = null;
settings = {
user = {
name = "m3ta-chiron";
email = "m3ta-chiron@agentmail.to";
};
core.excludesfile = "~/.gitignore_global";
init.defaultBranch = "master";
alias = {
st = "status";
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
};
};
};
home.file.".gitignore_global".text = "";
};
}