Read standard XDG directories via systemd

This commit is contained in:
Ohad Livne 2025-06-04 22:47:16 +03:00
parent 6ed89375e3
commit 3ab55ee128
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 6 additions and 6 deletions

View file

@ -5,8 +5,8 @@ podman --transient-store run --rm -ti \
--env XDG_RUNTIME_DIR=/tmp \
--hostname localhost \
--mount type=bind,source="${XDG_RUNTIME_DIR}"/"${WAYLAND_DISPLAY}",target=/tmp/"${WAYLAND_DISPLAY}" \
--mount type=bind,readonly=true,source="${HOME}"/.keys/vaults,target=/root/.age/key \
--mount type=bind,readonly=true,source="${HOME}"/.keys/vaults.pub,target=/root/.age/key.pub \
--mount type=bind,source="${HOME}"/Vaults,target=/root/Vaults \
--mount type=bind,readonly=true,source="$(systemd-path user)"/.keys/vaults,target=/root/.age/key \
--mount type=bind,readonly=true,source="$(systemd-path user)"/.keys/vaults.pub,target=/root/.age/key.pub \
--mount type=bind,source="$(systemd-path user)"/Vaults,target=/root/Vaults \
--network none \
vaulter:latest