Compare commits
26
Commits
cae0e33625
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef584cfa06 | ||
|
|
8b7d52f5d4 | ||
|
|
26bc5b5562 | ||
|
|
464de584a4 | ||
|
|
6a608a8e6a | ||
|
|
effbdd04dc | ||
|
|
cc5f85c1cc | ||
|
|
93e4429ab0 | ||
|
|
09f509c37b | ||
|
|
aef9d84d61 | ||
|
|
ba302a8a00 | ||
|
|
845af0e897 | ||
|
|
8f52714343 | ||
|
|
773ec3e4f9 | ||
|
|
d4cc6d80d8 | ||
|
|
0c52f97bde | ||
|
|
1cf5cb44ea | ||
|
|
ee0a8908d0 | ||
|
|
5a66da916d | ||
|
|
b20861c991 | ||
|
|
8a9fb31c9a | ||
|
|
d25015bc9d | ||
|
|
a2d226583f | ||
|
|
cf1c4b9f31 | ||
|
|
56f2295e6e | ||
|
|
95f5b76629 |
No files matched your search
@@ -71,3 +71,10 @@ bd.db
|
|||||||
# They would override fork protection in .git/info/exclude.
|
# They would override fork protection in .git/info/exclude.
|
||||||
# Config files (metadata.json, config.yaml) are tracked by git by default
|
# Config files (metadata.json, config.yaml) are tracked by git by default
|
||||||
# since no pattern above ignores them.
|
# since no pattern above ignores them.
|
||||||
|
|
||||||
|
# Added by bd (missing required patterns)
|
||||||
|
*.gate.lock*
|
||||||
|
last_pull
|
||||||
|
proxieddb/
|
||||||
|
dolt-server-config.yaml
|
||||||
|
proxied_server_client_info.json
|
||||||
+2
-1
@@ -53,4 +53,5 @@
|
|||||||
# - github.org
|
# - github.org
|
||||||
# - github.repo
|
# - github.repo
|
||||||
|
|
||||||
sync.remote: "git+ssh://gitea@code.m3ta.dev/m3tam3re/nixos-config.git"
|
sync:
|
||||||
|
remote: "git+ssh://gitea@code.m3ta.dev/m3tam3re/nixos-config.git"
|
||||||
+46
-11
@@ -1,24 +1,59 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
# --- BEGIN BEADS INTEGRATION v1.3.2 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
||||||
if command -v timeout >/dev/null 2>&1; then
|
case "$_bd_timeout" in
|
||||||
timeout "$_bd_timeout" bd hooks run post-checkout "$@"
|
*[!0-9]*|'') _bd_timeout_invalid=1 ;;
|
||||||
|
*[1-9]*) _bd_timeout_invalid=0 ;;
|
||||||
|
*) _bd_timeout_invalid=1 ;;
|
||||||
|
esac
|
||||||
|
if [ "$_bd_timeout_invalid" -eq 1 ]; then
|
||||||
|
echo >&2 "beads: invalid BEADS_HOOK_TIMEOUT; using 300 seconds"
|
||||||
|
_bd_timeout=300
|
||||||
|
fi
|
||||||
|
_bd_timeout_backend=none
|
||||||
|
_bd_timeout_command=
|
||||||
|
for _bd_timeout_candidate in timeout gtimeout; do
|
||||||
|
if command -v "$_bd_timeout_candidate" >/dev/null 2>&1; then
|
||||||
|
if _bd_timeout_version="$("$_bd_timeout_candidate" --version 2>/dev/null)"; then
|
||||||
|
case "$_bd_timeout_version" in
|
||||||
|
"timeout (GNU coreutils) "*) _bd_timeout_command=$_bd_timeout_candidate; break ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ -n "$_bd_timeout_command" ]; then
|
||||||
|
_bd_timeout_backend=coreutils
|
||||||
|
if "$_bd_timeout_command" -- "$_bd_timeout" bd hooks run post-checkout "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
_bd_exit=$?
|
_bd_exit=$?
|
||||||
if [ $_bd_exit -eq 124 ]; then
|
fi
|
||||||
|
elif command -v perl >/dev/null 2>&1; then
|
||||||
|
_bd_timeout_backend=perl
|
||||||
|
if perl -e 'alarm shift; exec @ARGV' -- "$_bd_timeout" bd hooks run post-checkout "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo >&2 "beads: hook 'post-checkout' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
|
||||||
|
if bd hooks run post-checkout "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if { [ "$_bd_timeout_backend" = coreutils ] && [ "$_bd_exit" -eq 124 ]; } || { [ "$_bd_timeout_backend" = perl ] && [ "$_bd_exit" -eq 142 ]; }; then
|
||||||
echo >&2 "beads: hook 'post-checkout' timed out after ${_bd_timeout}s — continuing without beads"
|
echo >&2 "beads: hook 'post-checkout' timed out after ${_bd_timeout}s — continuing without beads"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
else
|
if [ "$_bd_exit" -eq 3 ]; then
|
||||||
bd hooks run post-checkout "$@"
|
|
||||||
_bd_exit=$?
|
|
||||||
fi
|
|
||||||
if [ $_bd_exit -eq 3 ]; then
|
|
||||||
echo >&2 "beads: database not initialized — skipping hook 'post-checkout'"
|
echo >&2 "beads: database not initialized — skipping hook 'post-checkout'"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ "$_bd_exit" -ne 0 ]; then exit "$_bd_exit"; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.3 ---
|
# --- END BEADS INTEGRATION v1.3.2 ---
|
||||||
+46
-11
@@ -1,24 +1,59 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
# --- BEGIN BEADS INTEGRATION v1.3.2 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
||||||
if command -v timeout >/dev/null 2>&1; then
|
case "$_bd_timeout" in
|
||||||
timeout "$_bd_timeout" bd hooks run post-merge "$@"
|
*[!0-9]*|'') _bd_timeout_invalid=1 ;;
|
||||||
|
*[1-9]*) _bd_timeout_invalid=0 ;;
|
||||||
|
*) _bd_timeout_invalid=1 ;;
|
||||||
|
esac
|
||||||
|
if [ "$_bd_timeout_invalid" -eq 1 ]; then
|
||||||
|
echo >&2 "beads: invalid BEADS_HOOK_TIMEOUT; using 300 seconds"
|
||||||
|
_bd_timeout=300
|
||||||
|
fi
|
||||||
|
_bd_timeout_backend=none
|
||||||
|
_bd_timeout_command=
|
||||||
|
for _bd_timeout_candidate in timeout gtimeout; do
|
||||||
|
if command -v "$_bd_timeout_candidate" >/dev/null 2>&1; then
|
||||||
|
if _bd_timeout_version="$("$_bd_timeout_candidate" --version 2>/dev/null)"; then
|
||||||
|
case "$_bd_timeout_version" in
|
||||||
|
"timeout (GNU coreutils) "*) _bd_timeout_command=$_bd_timeout_candidate; break ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ -n "$_bd_timeout_command" ]; then
|
||||||
|
_bd_timeout_backend=coreutils
|
||||||
|
if "$_bd_timeout_command" -- "$_bd_timeout" bd hooks run post-merge "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
_bd_exit=$?
|
_bd_exit=$?
|
||||||
if [ $_bd_exit -eq 124 ]; then
|
fi
|
||||||
|
elif command -v perl >/dev/null 2>&1; then
|
||||||
|
_bd_timeout_backend=perl
|
||||||
|
if perl -e 'alarm shift; exec @ARGV' -- "$_bd_timeout" bd hooks run post-merge "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo >&2 "beads: hook 'post-merge' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
|
||||||
|
if bd hooks run post-merge "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if { [ "$_bd_timeout_backend" = coreutils ] && [ "$_bd_exit" -eq 124 ]; } || { [ "$_bd_timeout_backend" = perl ] && [ "$_bd_exit" -eq 142 ]; }; then
|
||||||
echo >&2 "beads: hook 'post-merge' timed out after ${_bd_timeout}s — continuing without beads"
|
echo >&2 "beads: hook 'post-merge' timed out after ${_bd_timeout}s — continuing without beads"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
else
|
if [ "$_bd_exit" -eq 3 ]; then
|
||||||
bd hooks run post-merge "$@"
|
|
||||||
_bd_exit=$?
|
|
||||||
fi
|
|
||||||
if [ $_bd_exit -eq 3 ]; then
|
|
||||||
echo >&2 "beads: database not initialized — skipping hook 'post-merge'"
|
echo >&2 "beads: database not initialized — skipping hook 'post-merge'"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ "$_bd_exit" -ne 0 ]; then exit "$_bd_exit"; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.3 ---
|
# --- END BEADS INTEGRATION v1.3.2 ---
|
||||||
+46
-11
@@ -1,24 +1,59 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
# --- BEGIN BEADS INTEGRATION v1.3.2 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
||||||
if command -v timeout >/dev/null 2>&1; then
|
case "$_bd_timeout" in
|
||||||
timeout "$_bd_timeout" bd hooks run pre-commit "$@"
|
*[!0-9]*|'') _bd_timeout_invalid=1 ;;
|
||||||
|
*[1-9]*) _bd_timeout_invalid=0 ;;
|
||||||
|
*) _bd_timeout_invalid=1 ;;
|
||||||
|
esac
|
||||||
|
if [ "$_bd_timeout_invalid" -eq 1 ]; then
|
||||||
|
echo >&2 "beads: invalid BEADS_HOOK_TIMEOUT; using 300 seconds"
|
||||||
|
_bd_timeout=300
|
||||||
|
fi
|
||||||
|
_bd_timeout_backend=none
|
||||||
|
_bd_timeout_command=
|
||||||
|
for _bd_timeout_candidate in timeout gtimeout; do
|
||||||
|
if command -v "$_bd_timeout_candidate" >/dev/null 2>&1; then
|
||||||
|
if _bd_timeout_version="$("$_bd_timeout_candidate" --version 2>/dev/null)"; then
|
||||||
|
case "$_bd_timeout_version" in
|
||||||
|
"timeout (GNU coreutils) "*) _bd_timeout_command=$_bd_timeout_candidate; break ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ -n "$_bd_timeout_command" ]; then
|
||||||
|
_bd_timeout_backend=coreutils
|
||||||
|
if "$_bd_timeout_command" -- "$_bd_timeout" bd hooks run pre-commit "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
_bd_exit=$?
|
_bd_exit=$?
|
||||||
if [ $_bd_exit -eq 124 ]; then
|
fi
|
||||||
|
elif command -v perl >/dev/null 2>&1; then
|
||||||
|
_bd_timeout_backend=perl
|
||||||
|
if perl -e 'alarm shift; exec @ARGV' -- "$_bd_timeout" bd hooks run pre-commit "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo >&2 "beads: hook 'pre-commit' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
|
||||||
|
if bd hooks run pre-commit "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if { [ "$_bd_timeout_backend" = coreutils ] && [ "$_bd_exit" -eq 124 ]; } || { [ "$_bd_timeout_backend" = perl ] && [ "$_bd_exit" -eq 142 ]; }; then
|
||||||
echo >&2 "beads: hook 'pre-commit' timed out after ${_bd_timeout}s — continuing without beads"
|
echo >&2 "beads: hook 'pre-commit' timed out after ${_bd_timeout}s — continuing without beads"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
else
|
if [ "$_bd_exit" -eq 3 ]; then
|
||||||
bd hooks run pre-commit "$@"
|
|
||||||
_bd_exit=$?
|
|
||||||
fi
|
|
||||||
if [ $_bd_exit -eq 3 ]; then
|
|
||||||
echo >&2 "beads: database not initialized — skipping hook 'pre-commit'"
|
echo >&2 "beads: database not initialized — skipping hook 'pre-commit'"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ "$_bd_exit" -ne 0 ]; then exit "$_bd_exit"; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.3 ---
|
# --- END BEADS INTEGRATION v1.3.2 ---
|
||||||
+46
-11
@@ -1,24 +1,59 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
# --- BEGIN BEADS INTEGRATION v1.3.2 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
||||||
if command -v timeout >/dev/null 2>&1; then
|
case "$_bd_timeout" in
|
||||||
timeout "$_bd_timeout" bd hooks run pre-push "$@"
|
*[!0-9]*|'') _bd_timeout_invalid=1 ;;
|
||||||
|
*[1-9]*) _bd_timeout_invalid=0 ;;
|
||||||
|
*) _bd_timeout_invalid=1 ;;
|
||||||
|
esac
|
||||||
|
if [ "$_bd_timeout_invalid" -eq 1 ]; then
|
||||||
|
echo >&2 "beads: invalid BEADS_HOOK_TIMEOUT; using 300 seconds"
|
||||||
|
_bd_timeout=300
|
||||||
|
fi
|
||||||
|
_bd_timeout_backend=none
|
||||||
|
_bd_timeout_command=
|
||||||
|
for _bd_timeout_candidate in timeout gtimeout; do
|
||||||
|
if command -v "$_bd_timeout_candidate" >/dev/null 2>&1; then
|
||||||
|
if _bd_timeout_version="$("$_bd_timeout_candidate" --version 2>/dev/null)"; then
|
||||||
|
case "$_bd_timeout_version" in
|
||||||
|
"timeout (GNU coreutils) "*) _bd_timeout_command=$_bd_timeout_candidate; break ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ -n "$_bd_timeout_command" ]; then
|
||||||
|
_bd_timeout_backend=coreutils
|
||||||
|
if "$_bd_timeout_command" -- "$_bd_timeout" bd hooks run pre-push "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
_bd_exit=$?
|
_bd_exit=$?
|
||||||
if [ $_bd_exit -eq 124 ]; then
|
fi
|
||||||
|
elif command -v perl >/dev/null 2>&1; then
|
||||||
|
_bd_timeout_backend=perl
|
||||||
|
if perl -e 'alarm shift; exec @ARGV' -- "$_bd_timeout" bd hooks run pre-push "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo >&2 "beads: hook 'pre-push' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
|
||||||
|
if bd hooks run pre-push "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if { [ "$_bd_timeout_backend" = coreutils ] && [ "$_bd_exit" -eq 124 ]; } || { [ "$_bd_timeout_backend" = perl ] && [ "$_bd_exit" -eq 142 ]; }; then
|
||||||
echo >&2 "beads: hook 'pre-push' timed out after ${_bd_timeout}s — continuing without beads"
|
echo >&2 "beads: hook 'pre-push' timed out after ${_bd_timeout}s — continuing without beads"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
else
|
if [ "$_bd_exit" -eq 3 ]; then
|
||||||
bd hooks run pre-push "$@"
|
|
||||||
_bd_exit=$?
|
|
||||||
fi
|
|
||||||
if [ $_bd_exit -eq 3 ]; then
|
|
||||||
echo >&2 "beads: database not initialized — skipping hook 'pre-push'"
|
echo >&2 "beads: database not initialized — skipping hook 'pre-push'"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ "$_bd_exit" -ne 0 ]; then exit "$_bd_exit"; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.3 ---
|
# --- END BEADS INTEGRATION v1.3.2 ---
|
||||||
@@ -1,24 +1,59 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
# --- BEGIN BEADS INTEGRATION v1.3.2 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
|
||||||
if command -v timeout >/dev/null 2>&1; then
|
case "$_bd_timeout" in
|
||||||
timeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
|
*[!0-9]*|'') _bd_timeout_invalid=1 ;;
|
||||||
|
*[1-9]*) _bd_timeout_invalid=0 ;;
|
||||||
|
*) _bd_timeout_invalid=1 ;;
|
||||||
|
esac
|
||||||
|
if [ "$_bd_timeout_invalid" -eq 1 ]; then
|
||||||
|
echo >&2 "beads: invalid BEADS_HOOK_TIMEOUT; using 300 seconds"
|
||||||
|
_bd_timeout=300
|
||||||
|
fi
|
||||||
|
_bd_timeout_backend=none
|
||||||
|
_bd_timeout_command=
|
||||||
|
for _bd_timeout_candidate in timeout gtimeout; do
|
||||||
|
if command -v "$_bd_timeout_candidate" >/dev/null 2>&1; then
|
||||||
|
if _bd_timeout_version="$("$_bd_timeout_candidate" --version 2>/dev/null)"; then
|
||||||
|
case "$_bd_timeout_version" in
|
||||||
|
"timeout (GNU coreutils) "*) _bd_timeout_command=$_bd_timeout_candidate; break ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ -n "$_bd_timeout_command" ]; then
|
||||||
|
_bd_timeout_backend=coreutils
|
||||||
|
if "$_bd_timeout_command" -- "$_bd_timeout" bd hooks run prepare-commit-msg "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
_bd_exit=$?
|
_bd_exit=$?
|
||||||
if [ $_bd_exit -eq 124 ]; then
|
fi
|
||||||
|
elif command -v perl >/dev/null 2>&1; then
|
||||||
|
_bd_timeout_backend=perl
|
||||||
|
if perl -e 'alarm shift; exec @ARGV' -- "$_bd_timeout" bd hooks run prepare-commit-msg "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo >&2 "beads: hook 'prepare-commit-msg' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
|
||||||
|
if bd hooks run prepare-commit-msg "$@"; then
|
||||||
|
_bd_exit=0
|
||||||
|
else
|
||||||
|
_bd_exit=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if { [ "$_bd_timeout_backend" = coreutils ] && [ "$_bd_exit" -eq 124 ]; } || { [ "$_bd_timeout_backend" = perl ] && [ "$_bd_exit" -eq 142 ]; }; then
|
||||||
echo >&2 "beads: hook 'prepare-commit-msg' timed out after ${_bd_timeout}s — continuing without beads"
|
echo >&2 "beads: hook 'prepare-commit-msg' timed out after ${_bd_timeout}s — continuing without beads"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
else
|
if [ "$_bd_exit" -eq 3 ]; then
|
||||||
bd hooks run prepare-commit-msg "$@"
|
|
||||||
_bd_exit=$?
|
|
||||||
fi
|
|
||||||
if [ $_bd_exit -eq 3 ]; then
|
|
||||||
echo >&2 "beads: database not initialized — skipping hook 'prepare-commit-msg'"
|
echo >&2 "beads: database not initialized — skipping hook 'prepare-commit-msg'"
|
||||||
_bd_exit=0
|
_bd_exit=0
|
||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ "$_bd_exit" -ne 0 ]; then exit "$_bd_exit"; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.3 ---
|
# --- END BEADS INTEGRATION v1.3.2 ---
|
||||||
@@ -46,6 +46,7 @@ CLAUDE.md
|
|||||||
.dolt/
|
.dolt/
|
||||||
*.db
|
*.db
|
||||||
.beads-credential-key
|
.beads-credential-key
|
||||||
|
.beads.gate.lock
|
||||||
|
|
||||||
# --- babysitter managed ---
|
# --- babysitter managed ---
|
||||||
.a5c/creds.env
|
.a5c/creds.env
|
||||||
|
|||||||
Generated
+57
-57
@@ -95,11 +95,11 @@
|
|||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792718584,
|
"lastModified": 1793681603,
|
||||||
"narHash": "sha256-YPYAhIfS8Ma5CmP0Jdc6pjLqhRNXlAFdElaKErSNfXA=",
|
"narHash": "sha256-1tMfhG7z4CQnHDPrnCYHxjI1h+ttU2ggAnjplZcz63E=",
|
||||||
"owner": "akitaonrails",
|
"owner": "akitaonrails",
|
||||||
"repo": "ai-memory",
|
"repo": "ai-memory",
|
||||||
"rev": "1bd866375b01031d63db54862a133376598d3701",
|
"rev": "4921bb93110a00602147a8024162f716c2e5d969",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -253,11 +253,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix_3"
|
"treefmt-nix": "treefmt-nix_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792485075,
|
"lastModified": 1793694265,
|
||||||
"narHash": "sha256-o04WvscL+MhtarpbluifQZLA6lIP3B0g6NDUWaM/asc=",
|
"narHash": "sha256-U0LOK1W4jopvSKjM1gDIOutEUuz6vZZJwPTUnVaT8KA=",
|
||||||
"owner": "mulatta",
|
"owner": "mulatta",
|
||||||
"repo": "buzz.nix",
|
"repo": "buzz.nix",
|
||||||
"rev": "22a9f566d21317181b4b40601570e81a02ff2d8c",
|
"rev": "44d468360b22d94a11ba55c3d5c4c4c3f7620725",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -276,11 +276,11 @@
|
|||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791553562,
|
"lastModified": 1793370552,
|
||||||
"narHash": "sha256-jp+gxgnCdMhpBxxBnOoHW5fRVc+C5rKCFHsP/afoh3w=",
|
"narHash": "sha256-Dv4jEQeqvPpicC3H8mLTyqtTgXp23p4HPiCMKqKWXFA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "colmena",
|
"repo": "colmena",
|
||||||
"rev": "e269669b798a361a521029d5d15e289124a15038",
|
"rev": "fc7d67ed1cd52af91415f92ba92b543bc7245f25",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -415,11 +415,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1790898470,
|
"lastModified": 1793576659,
|
||||||
"narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=",
|
"narHash": "sha256-V1h85lUaJBQoHFrB2vpXZOE0Ju1MYSnIpsehoVZYlDo=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "024633cd702b10285db5cb19b40ad48d2399ba60",
|
"rev": "ea2630b7470978622c7689a1ff75d2b389175399",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -523,16 +523,16 @@
|
|||||||
"uv2nix": "uv2nix"
|
"uv2nix": "uv2nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1790244527,
|
"lastModified": 1792722267,
|
||||||
"narHash": "sha256-y6NaoG+HCeMPhxRsBXrRFef4hp3FF1svSPNKpI6Xz/E=",
|
"narHash": "sha256-n6HfR4dydeITXx+ITkQr0l8LiKkUhZPVBvJu2ZwQxdk=",
|
||||||
"owner": "NousResearch",
|
"owner": "NousResearch",
|
||||||
"repo": "hermes-agent",
|
"repo": "hermes-agent",
|
||||||
"rev": "f97608f178d1ffeca59860195ab7da295f7c8e5f",
|
"rev": "bf0203a794a07aac3ff764972ab9087baa4e4f4e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NousResearch",
|
"owner": "NousResearch",
|
||||||
"ref": "v2026.9.24",
|
"ref": "v0.22.5",
|
||||||
"repo": "hermes-agent",
|
"repo": "hermes-agent",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -593,11 +593,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792605213,
|
"lastModified": 1793193205,
|
||||||
"narHash": "sha256-J73EBU30r2hXvHCcBtaigQDAIu/GGPYk1nc6P9THcmg=",
|
"narHash": "sha256-X6xa6sGA7RnJQuZGbFMC+K+KToWAlBDCCjJXfTwEPsw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ab97a5d09e0f2aa7339cfd35ec5824fd6653e27c",
|
"rev": "095fef2f265c3c0da4fe315efba8f8a04495ab34",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -680,11 +680,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793429632,
|
"lastModified": 1793708775,
|
||||||
"narHash": "sha256-as+Ue5OQyPXaA9myksf2YOhTtHONATTFFjbmumxKW2M=",
|
"narHash": "sha256-TCztCGO7C7rgg3S4JscvKm4lA5b1R3zy5MPKfYirOHI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "llm-agents.nix",
|
"repo": "llm-agents.nix",
|
||||||
"rev": "c16784396ad0473d85e058caf0f148d6856c4822",
|
"rev": "a854ddf4456f5fd67474e2d844cb4a29c32702d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -709,11 +709,11 @@
|
|||||||
"nur": "nur"
|
"nur": "nur"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793258213,
|
"lastModified": 1793725748,
|
||||||
"narHash": "sha256-77LJOHABdbX+cJ332xdTd7LEBoIo9r3lQccnD64p6RU=",
|
"narHash": "sha256-+fHuAgYQc0DcUdaZcBwl/b+S1NXPGwlztJgqEW8cCIY=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "5b192aadfe266733c35e40894c27fee716092294",
|
"rev": "4e46e08e4d5364945128066a4b90bbcfd331ff88",
|
||||||
"revCount": 166,
|
"revCount": 181,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home"
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home"
|
||||||
},
|
},
|
||||||
@@ -760,11 +760,11 @@
|
|||||||
"opencode": "opencode_2"
|
"opencode": "opencode_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793212697,
|
"lastModified": 1793731645,
|
||||||
"narHash": "sha256-Lxm7oZwyEe7m7dZe//N0C92NvXjHXlSTPlkJJ0Y6fSk=",
|
"narHash": "sha256-d+/UEmzF9xGXBDILszp6ZpQwV9P5SCUaboxsOvKSM2s=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "1fa50fe47a7d102f6bea10a09c0dd14402a088ba",
|
"rev": "f2b7a0eab045cf91961a9006152b3c6fd9da0c37",
|
||||||
"revCount": 417,
|
"revCount": 423,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
||||||
},
|
},
|
||||||
@@ -930,11 +930,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master_2": {
|
"nixpkgs-master_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792653584,
|
"lastModified": 1793722985,
|
||||||
"narHash": "sha256-vniEjRZ2skWqpreoaSJt7MCXDc/uZI/+ZDdLSa1/h6I=",
|
"narHash": "sha256-LG9Fc7wXwhm67Mz999kX1O/gUPeNGj9ThL+b7diR2js=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6c21ae394d8839a9d4cad6e2fb2f312ebef0447b",
|
"rev": "99faf641a2977fdf121860f9e3369f148807ccca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -946,11 +946,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master_3": {
|
"nixpkgs-master_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792659130,
|
"lastModified": 1793722985,
|
||||||
"narHash": "sha256-O8Eu5JrtHKJqsA0a4suXwgEcrK4aVHsfrRHzbLDTB74=",
|
"narHash": "sha256-LG9Fc7wXwhm67Mz999kX1O/gUPeNGj9ThL+b7diR2js=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b6e931d843e890e1e7aab5d3a45e3eecbb167da5",
|
"rev": "99faf641a2977fdf121860f9e3369f148807ccca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -962,11 +962,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792615934,
|
"lastModified": 1793633738,
|
||||||
"narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=",
|
"narHash": "sha256-tItrb9M8eYA6WhFgmT9tpGKueri3+wRuVA952o/2xSU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36",
|
"rev": "7dcdd87373d72e7a2173e4db02e20d3d7f495cfd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -978,11 +978,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_10": {
|
"nixpkgs_10": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792506237,
|
"lastModified": 1793706278,
|
||||||
"narHash": "sha256-Q/8KLB6jNfpaUN1HAedE/u/Et9feE/zYSsutBLKrCFk=",
|
"narHash": "sha256-CE1GD35mj//AKYuLNbQJZDelQYWzef5GBpQno9uyNP0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5adc50831c259f87faeb09ddf930d43597197473",
|
"rev": "ea9e3ef341e11c193537f674f821a99f9f436729",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1206,11 +1206,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792659131,
|
"lastModified": 1793722696,
|
||||||
"narHash": "sha256-GaqMC/GkKEUzX4XlVnCxhEQfR3wicT0XlpRhfDsGm0c=",
|
"narHash": "sha256-Fn9EY9BbSoUZehtTyAMCDwlNq9jzCXT3iUCYcsjLvAI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "b1e5d9527e6d663d09cb082d44ac834155798e69",
|
"rev": "3571a9d461119a501d9861715c4862f25f51b285",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1243,11 +1243,11 @@
|
|||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792644899,
|
"lastModified": 1793723922,
|
||||||
"narHash": "sha256-ub192yT1SwxVyf2DHKW34xHJnL/LXRi2jm1IFyZMkqQ=",
|
"narHash": "sha256-0d9go7harq36rwMOSqVhOnnd6fD9FEJ9bvx9m8/S37Q=",
|
||||||
"owner": "anomalyco",
|
"owner": "anomalyco",
|
||||||
"repo": "opencode",
|
"repo": "opencode",
|
||||||
"rev": "c93aaae37157d785f76a8e9a9243a6560e286468",
|
"rev": "8b038f672b0ee520d3ab6bc1014fc3eddba5961c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1455,11 +1455,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792219666,
|
"lastModified": 1793434469,
|
||||||
"narHash": "sha256-RMO08tKD+hFIL5ryWi85VY4aHE5oIpdV1h4kVFctOkw=",
|
"narHash": "sha256-+sgVNI2c67di+XIeMaz5KSei4T65kX68s5Nl0E5Gzbc=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "a110337465cfb76e3806b81b9db3094c3e6e770a",
|
"rev": "6ecf534a7c16e7c969f26838fdd8c93597ae93f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1470,11 +1470,11 @@
|
|||||||
},
|
},
|
||||||
"stable": {
|
"stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791219833,
|
"lastModified": 1793044983,
|
||||||
"narHash": "sha256-q8KNN9Zs/nau7Cc8+f5ZGJeMXmCQqm5+bgy5m/uYxmw=",
|
"narHash": "sha256-TMADWku9ye40AQKGMdSoCpByfqaL7kbO+o8E46Q7CLQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1f623a1582190fa3ba3f5cea25aba925055d43eb",
|
"rev": "89844ad35df40e876cb6d0a3a319fbf65ea4b984",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1655,11 +1655,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1785277507,
|
"lastModified": 1792151315,
|
||||||
"narHash": "sha256-9Tq3UDX2hD/aveW/HvkBlAmEwJTOlY5HQXJM+L5BGmE=",
|
"narHash": "sha256-PMtgvHuGijoIAtPtrBm7kJOI6fxzX4LYPAIK+QVGY+Y=",
|
||||||
"owner": "pyproject-nix",
|
"owner": "pyproject-nix",
|
||||||
"repo": "uv2nix",
|
"repo": "uv2nix",
|
||||||
"rev": "5a836d395cbf5fc22670eb98dd4aa4fc4d406977",
|
"rev": "7aba73a3d85454f1118f8cf9de97979b4d26bcac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
hermes-agent.url = "github:NousResearch/hermes-agent/v2026.9.24";
|
hermes-agent.url = "github:NousResearch/hermes-agent/v0.22.5";
|
||||||
|
|
||||||
ai-memory = {
|
ai-memory = {
|
||||||
url = "github:akitaonrails/ai-memory";
|
url = "github:akitaonrails/ai-memory";
|
||||||
@@ -87,10 +87,8 @@
|
|||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
systems = [
|
systems = [
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
"i686-linux"
|
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
"aarch64-darwin"
|
"aarch64-darwin"
|
||||||
"x86_64-darwin"
|
|
||||||
];
|
];
|
||||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||||
allOverlays = import ./overlays {inherit inputs outputs;};
|
allOverlays = import ./overlays {inherit inputs outputs;};
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
./ports.nix
|
./ports.nix
|
||||||
./users
|
./users
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
inputs.m3ta-home.nixosModules.t3code
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
||||||
@@ -49,6 +50,8 @@
|
|||||||
# with allowUnfree). Do NOT flatten to top-level attrs — see
|
# with allowUnfree). Do NOT flatten to top-level attrs — see
|
||||||
# overlays/default.nix.
|
# overlays/default.nix.
|
||||||
inputs.llm-agents.overlays.shared-nixpkgs
|
inputs.llm-agents.overlays.shared-nixpkgs
|
||||||
|
# Wraps pkgs.llm-agents.t3code* with the agents' m3ta-chiron identity.
|
||||||
|
inputs.m3ta-home.overlays.t3code-agent-identity
|
||||||
# You can also add overlays exported from other flakes:
|
# You can also add overlays exported from other flakes:
|
||||||
# neovim-nightly-overlay.overlays.default
|
# neovim-nightly-overlay.overlays.default
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,6 @@
|
|||||||
# Full desktop workstation
|
# Full desktop workstation
|
||||||
base = {
|
base = {
|
||||||
shell = {
|
shell = {
|
||||||
fish.enable = true;
|
|
||||||
nushell.enable = true;
|
nushell.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
};
|
};
|
||||||
@@ -142,7 +141,6 @@
|
|||||||
# Portable laptop — desktop without gaming, no Hyprland
|
# Portable laptop — desktop without gaming, no Hyprland
|
||||||
base = {
|
base = {
|
||||||
shell = {
|
shell = {
|
||||||
fish.enable = true;
|
|
||||||
nushell.enable = true;
|
nushell.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
};
|
};
|
||||||
@@ -207,7 +205,6 @@
|
|||||||
# m3-helios, m3-hermes, m3-aether — minimal server
|
# m3-helios, m3-hermes, m3-aether — minimal server
|
||||||
base = {
|
base = {
|
||||||
shell = {
|
shell = {
|
||||||
fish.enable = true;
|
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
};
|
};
|
||||||
cliTools = {
|
cliTools = {
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
# Add any missing dynamic libraries for unpackaged programs
|
# Add any missing dynamic libraries for unpackaged programs
|
||||||
# here, NOT in environment.systemPackages
|
# here, NOT in environment.systemPackages
|
||||||
];
|
];
|
||||||
programs.fish.enable = true;
|
|
||||||
programs.mosh.enable = true;
|
programs.mosh.enable = true;
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
# Add any missing dynamic libraries for unpackaged programs
|
# Add any missing dynamic libraries for unpackaged programs
|
||||||
# here, NOT in environment.systemPackages
|
# here, NOT in environment.systemPackages
|
||||||
];
|
];
|
||||||
programs.fish.enable = true;
|
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
programs.nix-ld.libraries = with pkgs; [];
|
programs.nix-ld.libraries = with pkgs; [];
|
||||||
programs.mosh.enable = true;
|
programs.mosh.enable = true;
|
||||||
programs.fish.enable = true;
|
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
age = {
|
age = {
|
||||||
secrets = {
|
secrets = {
|
||||||
|
agent-gitea-token-m3ta = {
|
||||||
|
file = ../../secrets/agent-gitea-token-m3ta.age;
|
||||||
|
owner = "m3tam3re";
|
||||||
|
};
|
||||||
hermes-env = {
|
hermes-env = {
|
||||||
file = ../../secrets/hermes-env.age;
|
file = ../../secrets/hermes-env.age;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
# - Lane 3, control & inbox: Hermes via Matrix (unchanged).
|
# - Lane 3, control & inbox: Hermes via Matrix (unchanged).
|
||||||
#
|
#
|
||||||
# Flow: T3 desktop/mobile app ──NetBird mesh──▶ wt0 :3773 (this server).
|
# Flow: T3 desktop/mobile app ──NetBird mesh──▶ wt0 :3773 (this server).
|
||||||
# The server binds 0.0.0.0, but the firewall admits the port for mesh
|
# The server itself comes from m3ta-home's t3code module: it binds the
|
||||||
# peers only — same posture as ai-memory and the hermes dashboard.
|
# current NetBird address of wt0 and opens the port on wt0 only. This file
|
||||||
|
# adds the hermes-specific agent runtime around it.
|
||||||
#
|
#
|
||||||
# Agent runtime for the T3 harnesses (OpenCode / Claude Code, 2026-10-31):
|
# Agent runtime for the T3 harnesses (OpenCode / Claude Code, 2026-10-31):
|
||||||
# - Skills/commands/agents via agent-lib v2: a timer syncs the work repo
|
# - Skills/commands/agents via agent-lib v2: a timer syncs the work repo
|
||||||
@@ -16,12 +17,14 @@
|
|||||||
# so no deploy token) into ~/.agents/skills + ~/.config/opencode/*. A
|
# so no deploy token) into ~/.agents/skills + ~/.config/opencode/*. A
|
||||||
# path unit mirrors skills into ~/.claude/skills for Claude Code
|
# path unit mirrors skills into ~/.claude/skills for Claude Code
|
||||||
# (port of m3ta-home profiles/sets/coding/agents/claude-skills.nix).
|
# (port of m3ta-home profiles/sets/coding/agents/claude-skills.nix).
|
||||||
# - Git identity: every harness spawned by `t3 serve` commits as the
|
# - Git identity and Gitea push auth: m3ta-chiron for every harness spawned
|
||||||
# m3ta-chiron bot account — via service env vars, deliberately NOT via
|
# by T3, baked into the package (m3ta-home overlay
|
||||||
# ~/.gitconfig, so m3tam3re's interactive git on this host is untouched.
|
# t3code-agent-identity), so m3tam3re's interactive git is untouched.
|
||||||
# - Gitea SSH: m3tam3re's ssh config pins User gitea + key ~/.ssh/gitea
|
# - Gitea SSH: m3tam3re's ssh config pins User gitea + key ~/.ssh/gitea
|
||||||
# (one-time keygen; pubkey added to the m3ta-chiron account) — covers
|
# (one-time keygen; pubkey added to the m3ta-chiron account) for
|
||||||
# git remotes AND git+ssh:// flake inputs. Host key pinned system-wide.
|
# interactive use and git+ssh:// flake inputs. Host key pinned system-wide.
|
||||||
|
# - Gitea change requests: tea with the agent-gitea-token-m3ta agenix secret,
|
||||||
|
# baked into the same package.
|
||||||
#
|
#
|
||||||
# One-time interactive steps after deploy (deliberately NOT declarative —
|
# One-time interactive steps after deploy (deliberately NOT declarative —
|
||||||
# subscription auth must live in each harness's own credential store and
|
# subscription auth must live in each harness's own credential store and
|
||||||
@@ -45,24 +48,10 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# Mesh-only via interface match on wt0 (NetBird) — an IPv4 CIDR in -s
|
|
||||||
# would abort the ip6tables run of ip46tables and fail the unit.
|
|
||||||
port = config.m3ta.ports.get "t3code";
|
|
||||||
|
|
||||||
# ── Lane-1 agent runtime ─────────────────────────────────────────────
|
# ── Lane-1 agent runtime ─────────────────────────────────────────────
|
||||||
cockpitUser = "m3tam3re";
|
cockpitUser = "m3tam3re";
|
||||||
cockpitHome = "/home/${cockpitUser}";
|
cockpitHome = "/home/${cockpitUser}";
|
||||||
|
|
||||||
# Commit identity of the T3 Code agents: the fleet bot account. Env
|
|
||||||
# vars are respected by git in every process the service spawns; they
|
|
||||||
# survive restarts and stay out of m3tam3re's dotfiles.
|
|
||||||
gitIdentityEnv = {
|
|
||||||
GIT_AUTHOR_NAME = "m3ta-chiron";
|
|
||||||
GIT_AUTHOR_EMAIL = "m3ta-chiron@agentmail.to";
|
|
||||||
GIT_COMMITTER_NAME = "m3ta-chiron";
|
|
||||||
GIT_COMMITTER_EMAIL = "m3ta-chiron@agentmail.to";
|
|
||||||
};
|
|
||||||
|
|
||||||
# SSH to the private Gitea for the T3 lane. Sits in m3tam3re's ssh
|
# SSH to the private Gitea for the T3 lane. Sits in m3tam3re's ssh
|
||||||
# config (per-user — Hermes' own gitea access via its own ssh config
|
# config (per-user — Hermes' own gitea access via its own ssh config
|
||||||
# is unaffected). URL-embedded users (gitea@code.m3ta.dev) match the
|
# is unaffected). URL-embedded users (gitea@code.m3ta.dev) match the
|
||||||
@@ -71,7 +60,7 @@
|
|||||||
t3SshConfig = pkgs.writeText "t3-gitea-ssh-config" ''
|
t3SshConfig = pkgs.writeText "t3-gitea-ssh-config" ''
|
||||||
Host code.m3ta.dev
|
Host code.m3ta.dev
|
||||||
User gitea
|
User gitea
|
||||||
IdentityFile ~/.ssh/gitea
|
IdentityFile ${cockpitHome}/.ssh/gitea
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@@ -115,37 +104,17 @@ in {
|
|||||||
pkgs.llm-agents.t3code
|
pkgs.llm-agents.t3code
|
||||||
pkgs.llm-agents.opencode2
|
pkgs.llm-agents.opencode2
|
||||||
pkgs.llm-agents.claude-code
|
pkgs.llm-agents.claude-code
|
||||||
|
pkgs.llm-agents.beads
|
||||||
pkgs.agent-lib
|
pkgs.agent-lib
|
||||||
];
|
];
|
||||||
|
|
||||||
# ── T3 Code server (system service, cockpit user) ────────────────────
|
# ── T3 Code server (m3ta-home module, cockpit user) ─────────────────
|
||||||
systemd.services.t3code = {
|
# The harnesses, git and beads for the agents come from the system
|
||||||
description = "T3 Code server (interactive coding-agent cockpit)";
|
# profile above (the module puts /run/current-system/sw on the path).
|
||||||
after = ["network-online.target"];
|
m3ta.t3code = {
|
||||||
wants = ["network-online.target"];
|
enable = true;
|
||||||
wantedBy = ["multi-user.target"];
|
user = cockpitUser;
|
||||||
|
port = config.m3ta.ports.get "t3code";
|
||||||
serviceConfig = {
|
|
||||||
User = "m3tam3re";
|
|
||||||
Group = "users";
|
|
||||||
WorkingDirectory = "/home/m3tam3re";
|
|
||||||
ExecStart = "${pkgs.llm-agents.t3code}/bin/t3 serve --host 0.0.0.0";
|
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = "5";
|
|
||||||
};
|
|
||||||
|
|
||||||
environment =
|
|
||||||
{
|
|
||||||
T3CODE_PORT = toString port;
|
|
||||||
}
|
|
||||||
// gitIdentityEnv;
|
|
||||||
|
|
||||||
# Harness CLIs and git for the agents T3 Code spawns.
|
|
||||||
path = with pkgs; [
|
|
||||||
git
|
|
||||||
llm-agents.opencode2
|
|
||||||
llm-agents.claude-code
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Gitea (code.m3ta.dev) for the T3 lane ────────────────────────────
|
# ── Gitea (code.m3ta.dev) for the T3 lane ────────────────────────────
|
||||||
@@ -163,6 +132,8 @@ in {
|
|||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d ${cockpitHome}/.ssh 0700 ${cockpitUser} users -"
|
"d ${cockpitHome}/.ssh 0700 ${cockpitUser} users -"
|
||||||
"L+ ${cockpitHome}/.ssh/config - - - - ${t3SshConfig}"
|
"L+ ${cockpitHome}/.ssh/config - - - - ${t3SshConfig}"
|
||||||
|
# The fleet-wide key path the T3 package expects (see t3code-agent-identity).
|
||||||
|
"L+ ${cockpitHome}/.ssh/m3ta-chiron - - - - ${cockpitHome}/.ssh/gitea"
|
||||||
];
|
];
|
||||||
|
|
||||||
# ── agent-lib v2 client: skills/commands/agents for the harnesses ────
|
# ── agent-lib v2 client: skills/commands/agents for the harnesses ────
|
||||||
@@ -171,7 +142,7 @@ in {
|
|||||||
# world-readable (mode 0644 by default). The work repo is anonymously
|
# world-readable (mode 0644 by default). The work repo is anonymously
|
||||||
# readable over HTTPS (verified 2026-10-31) — no token in the config.
|
# readable over HTTPS (verified 2026-10-31) — no token in the config.
|
||||||
environment.etc."agent-lib/config.json".text =
|
environment.etc."agent-lib/config.json".text =
|
||||||
builtins.toJSON {repo_url = "https://code.m3ta.dev/m3tam3re/agent-lib.git";};
|
builtins.toJSON {repo_url = "https://code.m3ta.dev/m3tam3re/agent-prod.git";};
|
||||||
|
|
||||||
# Sync runs in the cockpit user's context (deployment targets resolve
|
# Sync runs in the cockpit user's context (deployment targets resolve
|
||||||
# against $HOME) and mirrors skills into Claude Code right after.
|
# against $HOME) and mirrors skills into Claude Code right after.
|
||||||
@@ -216,15 +187,4 @@ in {
|
|||||||
};
|
};
|
||||||
environment.HOME = cockpitHome;
|
environment.HOME = cockpitHome;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
extraCommands = ''
|
|
||||||
# Allow t3code only from Netbird mesh VPN
|
|
||||||
ip46tables -A nixos-fw -p tcp --dport ${toString port} -i wt0 -j nixos-fw-accept
|
|
||||||
'';
|
|
||||||
|
|
||||||
extraStopCommands = ''
|
|
||||||
ip46tables -D nixos-fw -p tcp --dport ${toString port} -i wt0 -j nixos-fw-accept 2>/dev/null || true
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -31,7 +31,6 @@
|
|||||||
wlrobs
|
wlrobs
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
programs.fish.enable = true;
|
|
||||||
programs.thunar = {
|
programs.thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs; [thunar-archive-plugin thunar-volman];
|
plugins = with pkgs; [thunar-archive-plugin thunar-volman];
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
age = {
|
age = {
|
||||||
secrets = {
|
secrets = {
|
||||||
|
agent-gitea-token-m3ta = {
|
||||||
|
file = ../../secrets/agent-gitea-token-m3ta.age;
|
||||||
|
owner = "m3tam3re";
|
||||||
|
};
|
||||||
|
agent-gitea-token-az = {
|
||||||
|
file = ../../secrets/agent-gitea-token-az.age;
|
||||||
|
owner = "m3tam3re";
|
||||||
|
};
|
||||||
anytype-key = {
|
anytype-key = {
|
||||||
file = ../../secrets/anytype-key.age;
|
file = ../../secrets/anytype-key.age;
|
||||||
owner = "m3tam3re";
|
owner = "m3tam3re";
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
./netbird.nix
|
./netbird.nix
|
||||||
./postgres.nix
|
./postgres.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
|
./t3code.nix
|
||||||
./udev.nix
|
./udev.nix
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{config, ...}: {
|
||||||
|
m3ta.t3code = {
|
||||||
|
enable = true;
|
||||||
|
user = "m3tam3re";
|
||||||
|
port = config.m3ta.ports.get "t3code";
|
||||||
|
};
|
||||||
|
}
|
||||||
+2
-1
@@ -55,7 +55,8 @@ in {
|
|||||||
"secrets/hermes-env.age".publicKeys = systems ++ users;
|
"secrets/hermes-env.age".publicKeys = systems ++ users;
|
||||||
"secrets/hermes-cloud-env.age".publicKeys = systems ++ users;
|
"secrets/hermes-cloud-env.age".publicKeys = systems ++ users;
|
||||||
"secrets/hermes-api-server-key.age".publicKeys = systems ++ users;
|
"secrets/hermes-api-server-key.age".publicKeys = systems ++ users;
|
||||||
"secrets/hermes-gitea-token.age".publicKeys = systems ++ users;
|
"secrets/agent-gitea-token-m3ta.age".publicKeys = systems ++ users;
|
||||||
|
"secrets/agent-gitea-token-az.age".publicKeys = [m3-kratos] ++ users;
|
||||||
"secrets/tuwunel-registration-token.age".publicKeys = systems ++ users;
|
"secrets/tuwunel-registration-token.age".publicKeys = systems ++ users;
|
||||||
"secrets/ai-memory-server-env.age".publicKeys = [m3-hermes] ++ users;
|
"secrets/ai-memory-server-env.age".publicKeys = [m3-hermes] ++ users;
|
||||||
"secrets/ai-memory-hermes-token.age".publicKeys = [m3-hermes] ++ users;
|
"secrets/ai-memory-hermes-token.age".publicKeys = [m3-hermes] ++ users;
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDNCY3IxdyA3cDdZ
|
||||||
|
d1RIUGdOelJkL0ZZTldKYmNGRzN5RTQrSDVGNVE1dW1TaDdoR2xVCjZJTWZqVmFx
|
||||||
|
blZSemcyRjhXaHBXV1BTN3RNM0xLOVB6aGJlTlBvNnFmMFEKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgKytUcWFRICtab1hacXg2OE5QK3FRTlRVdmZoSmtUTThwUVU5dk14cnNnMzdM
|
||||||
|
RmVLV1kKTzJUNU12VnBzeW9yZjBYUUtmcUNxcmttMGVGV3VYNWhOcldSQkxXSndw
|
||||||
|
NAotPiBzc2gtZWQyNTUxOSBDU015aGcgdmdxVWI2UG5USFBWR24vRGpKQmF0QXlE
|
||||||
|
dFlqTFFsWHUxRlpDZitYUE1RRQpxS2cvTURGZUFjNVlwRmRtcVZ6bWhLRTZPa0lQ
|
||||||
|
U3pzSXhtazMxcXkrRnJnCi0tLSB3OUsyT2YzL05UVWhJMVEwdno4Z0U0WGhTb1Qx
|
||||||
|
SmNyVWNhZHVOeDdkVHFNCvfBDJ9SzlWGD3URDtM74LvjYRNcb33SCstNhwCYswur
|
||||||
|
dnu8OawdQeVcYV1dhAMW/16F/n/Nd9MSVkaW4K7tUsOs8XbCHTB7Fxg=
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
File renamed without changes.
Reference in new issue
Block a user