Create a vault editor
This commit is contained in:
parent
c4a73bde4c
commit
906cf92879
4 changed files with 26 additions and 0 deletions
14
.local/bin/vaulter
Executable file
14
.local/bin/vaulter
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
docker run --rm -ti \
|
||||
--env WAYLAND_DISPLAY \
|
||||
--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=/home/user/.age/key \
|
||||
--mount type=bind,readonly=true,source="${HOME}"/.keys/vaults.pub,target=/home/user/.age/key.pub \
|
||||
--mount type=bind,source="${HOME}"/Vaults,target=/home/user/Vaults \
|
||||
--network none \
|
||||
--privileged=true \
|
||||
vaulter:latest \
|
||||
--execute '(set-frame-name "Vault Editor")'
|
||||
Loading…
Add table
Add a link
Reference in a new issue