mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
## Description Works in apptainer now.. podman is still the goat since apptainer needs docker treatment and even more.. - Added container detection so podman can be used to it's fullest, the non-sane ones are handled separately.. - Added video bit-depth option, cuz AV1 and 10-bit encoding go well together. - Some other package updates to nestri-server. - General tidying up of scripts to make multi-container-engine handling less of a pain. - Updated old wireplumber lua script to new json format. Further changes: - Removed unused debug arg from nestri-server. - Moved configs to config file folder rather than keeping them in containerfile. - Improved audio configs, moved some into wireplumber to keep things tidy. - Bit better arg handling in nestri-server. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Optional 10‑bit video support and auto‑launch of an app after display setup. * **Changes** * Standardized runtime/user env to NESTRI_* with updated home/cache paths and explicit LANG; password generation now logged. * Improved container/GPU detection and startup logging; reduced blanket root usage during startup; SSH setup surfaced. * WirePlumber/PipeWire moved to JSON configs; low‑latency clock and loopback audio policies added; audio capture defaults to PipeWire. * **Chores** * GStreamer/libp2p dependency upgrades and Rust toolchain pinned; NVIDIA driver capability exposed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
24 lines
836 B
Bash
24 lines
836 B
Bash
#!/bin/bash
|
|
|
|
function log {
|
|
printf '[%s] %s\n' "$(date +'%Y-%m-%d %H:%M:%S')" "$*"
|
|
}
|
|
|
|
if [[ ! -f /etc/nestri/envs.sh ]]; then
|
|
log "Error: Environment variables script not found at /etc/nestri/envs.sh"
|
|
exit 1
|
|
fi
|
|
source /etc/nestri/envs.sh || { log "Error: Failed to source /etc/nestri/envs.sh"; exit 1; }
|
|
|
|
if [[ ! -f /etc/nestri/container_helpers.sh ]]; then
|
|
log "Error: Container helpers script not found at /etc/nestri/container_helpers.sh"
|
|
exit 1
|
|
fi
|
|
source /etc/nestri/container_helpers.sh || { log "Error: Failed to source /etc/nestri/container_helpers.sh"; exit 1; }
|
|
|
|
if [[ ! -f /etc/nestri/gpu_helpers.sh ]]; then
|
|
log "Error: GPU helpers script not found at /etc/nestri/gpu_helpers.sh"
|
|
exit 1
|
|
fi
|
|
source /etc/nestri/gpu_helpers.sh || { log "Error: Failed to source /etc/nestri/gpu_helpers.sh"; exit 1; }
|