fix: pi settings sync

This commit is contained in:
sascha.koenig
2026-04-17 06:06:21 +02:00
parent 8feaaa2845
commit c454433448
13 changed files with 15 additions and 45 deletions

1
.gitignore vendored
View File

@@ -43,3 +43,4 @@ flake.lock.bak
.sidecar-start.sh .sidecar-start.sh
.sidecar-base .sidecar-base
.td-root .td-root
.pi-lens

View File

@@ -1,7 +0,0 @@
{
"success": true,
"clones": [],
"duplicatedLines": 0,
"totalLines": 0,
"percentage": 0
}

View File

@@ -1,3 +0,0 @@
{
"timestamp": "2026-04-16T05:17:32.737Z"
}

View File

@@ -1,9 +0,0 @@
{
"success": false,
"issues": [],
"unusedExports": [],
"unusedFiles": [],
"unusedDeps": [],
"unlistedDeps": [],
"summary": "Failed to parse output"
}

View File

@@ -1,3 +0,0 @@
{
"timestamp": "2026-04-16T05:17:34.002Z"
}

View File

@@ -1 +0,0 @@
null

View File

@@ -1,3 +0,0 @@
{
"timestamp": "2026-04-16T05:07:03.715Z"
}

View File

@@ -1,3 +0,0 @@
{
"items": []
}

View File

@@ -1,3 +0,0 @@
{
"timestamp": "2026-04-16T05:05:46.953Z"
}

View File

@@ -1,6 +0,0 @@
{
"nixd": {
"choice": "no",
"timestamp": 1776314948230
}
}

View File

@@ -1,6 +0,0 @@
{
"files": {},
"turnCycles": 0,
"maxCycles": 3,
"lastUpdated": "2026-04-16T05:17:34.002Z"
}

View File

@@ -60,6 +60,19 @@ in
cwd="$1" cwd="$1"
shift shift
# Parse forwarded environment variables from wrapper (KEY=VALUE)
while [ "$#" -gt 0 ]; do
case "$1" in
TERM=*|LANG=*|LC_ALL=*|LC_CTYPE=*|COLORTERM=*|TERM_PROGRAM=*)
export "$1"
shift
;;
*)
break
;;
esac
done
resolve_user_policy() { resolve_user_policy() {
local user="$1" local user="$1"
USER_CONFIG_PATH="" USER_CONFIG_PATH=""

View File

@@ -97,6 +97,6 @@ with lib;
exec /run/wrappers/bin/sudo --non-interactive \ exec /run/wrappers/bin/sudo --non-interactive \
${runner}/bin/${cfg.wrapper.runnerName} \ ${runner}/bin/${cfg.wrapper.runnerName} \
"$user_name" "$cwd_real" \ "$user_name" "$cwd_real" \
"TERM=$TERM" "LANG=$LANG" "LC_ALL=''${LC_ALL:-}" "LC_CTYPE=''${LC_CTYPE:-}" "COLORTERM=''${COLORTERM:-}" \ "TERM=$TERM" "LANG=$LANG" "LC_ALL=''${LC_ALL:-}" "LC_CTYPE=''${LC_CTYPE:-}" "COLORTERM=''${COLORTERM:-}" "TERM_PROGRAM=''${TERM_PROGRAM:-}" \
"$@" "$@"
'' ''