Freedom is a synthetic enterprise, not a natural gift
image
 │ cpu AMD Ryzen 5 5600G 4.46 GHz │ memory 5.23 GiB / 7.05 GiB (74%) │ │ 過去を殺せ ╰──────────────────────────────────────────
#90-user.conf
EDITOR=hx
BROWSER=firefox
XDG_DATA_HOME=$HOME/.local/share
XDG_CONFIG_HOME=$HOME/.config
XDG_CACHE_HOME=$HOME/.cache
PATH=$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.opencode/bin:/usr/local/go/bin${PATH:+:$PATH}
PKG_CONFIG_PATH=/usr/lib64/pkgconfig#.profile
export _DOTFILES_PROFILE_SOURCED=1
case ":$PATH:" in *":$HOME/.opencode/bin:"*) ;; *) PATH="$HOME/.opencode/bin:$PATH" ;; esac
[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
case ":$PATH:" in *":/usr/local/go/bin:"*) ;; *) PATH="$PATH:/usr/local/go/bin" ;; esac
if [ -n "$PATH" ]; then
pinned=""
IFS_OLD=$IFS
IFS=:
for _d in $PATH; do
[ -z "$_d" ] && continue
case ":$pinned:" in *":$_d:"*) continue ;; esac
[ "$_d" = "$HOME/.local/bin" ] && continue
pinned="${pinned}${pinned:+:}${_d}"
done
IFS=$IFS_OLD
unset _d
export PATH="$HOME/.local/bin:$pinned"
fiverification:
#bash ❯ echo "$PATH" | tr ':' '\n' /home/ghost_user/.local/bin /usr/lib64/ccache /home/ghost_user/.cargo/bin /home/ghost_user/.opencode/bin /usr/local/go/bin /usr/local/bin /usr/bin
#nushell ❯ $env.PATH ╭───┬────────────────────────────────╮ │ 0 │ /home/ghost_user/.local/bin │ │ 1 │ /usr/lib64/ccache │ │ 2 │ /home/ghost_user/.cargo/bin │ │ 3 │ /home/ghost_user/.opencode/bin │ │ 4 │ /usr/local/go/bin │ │ 5 │ /usr/local/bin │ │ 6 │ /usr/bin │ ╰───┴────────────────────────────────╯
what is the closest you can get to do "dotfiles" on android?
i know the way android stores application config and so on makes it almost imposible to keep a real functioning dotfiles. but what is the closest you can get? is there a way to at least get a declarative list of apps to install or something? maybe some f-droid config at least or something?
how to automate backup and handle the passphrase?
cross-posted from: https://lemmy.ml/post/54692477
i'm setting up plakar as a backup tool and i wanted to use some systemd service and timer files to trigger the backups automatically. the issue is that doing so requires the plakar passhprase. what is the best way to handle this? because the best options seem to require interactivity and i need a non interactive solution. is the standard solution to simply let the passphrase as a plaintext or what?