refactor: simplify .daggerignore and fix hardcoded path after repo move to sharedinbox/

.daggerignore no longer needs to exclude $HOME dirs (fvm/, go/, .pub-cache/,
.claude/, snap/, etc.) since the project root is now sharedinbox/, not $HOME.
agent_loop.py: replace hardcoded /home/si with Path.home().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas SharedInbox
2026-05-20 13:43:29 +02:00
co-authored by Claude Sonnet 4.6
parent bd03484fcc
commit 92cc725913
2 changed files with 3 additions and 43 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ from datetime import datetime, timezone
from pathlib import Path
# Cron runs with a minimal PATH; ensure Nix profile binaries (tea, claude) are found.
os.environ["PATH"] = f"/home/si/.nix-profile/bin:{os.environ.get('PATH', '/usr/bin:/bin')}"
os.environ["PATH"] = f"{Path.home()}/.nix-profile/bin:{os.environ.get('PATH', '/usr/bin:/bin')}"
# ── configuration ─────────────────────────────────────────────────────────────