Files
dotfiles/hosts/main/bin/emacs-server
Sebastian Moser a347145348 stuff
2026-10-22 22:18:58 +02:00

14 lines
258 B
Bash
Executable File

#!/bin/bash
if [[ -v IS_RUNIT ]]; then
exec 2>$LOG_DIR/emacs
exec 1>$LOG_DIR/emacs
unset IS_RUNIT
fi
export DOOMDIR="$CONFIG_DIR/doomdir"
echo $DOOMDIR
echo -------------
exec nixGL emacs --init-directory $CONFIG_DIR/src/doom --fg-daemon "$@"