gpg xdg
This commit is contained in:
parent
b5b64276d7
commit
9b57787673
5 changed files with 29 additions and 6 deletions
|
@ -19,6 +19,7 @@ export \
|
||||||
CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" \
|
CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" \
|
||||||
WINEPREFIX="$HOME/.local/share/wine" \
|
WINEPREFIX="$HOME/.local/share/wine" \
|
||||||
WGETRC="$HOME/.config/wget/wgetrc" \
|
WGETRC="$HOME/.config/wget/wgetrc" \
|
||||||
|
GNUPGHOME="$XDG_DATA_HOME/gnupg" \
|
||||||
GOPATH="$XDG_DATA_HOME/go" \
|
GOPATH="$XDG_DATA_HOME/go" \
|
||||||
|
|
||||||
export \
|
export \
|
||||||
|
|
14
systemd/user/gpg-agent-extra.socket
Normal file
14
systemd/user/gpg-agent-extra.socket
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[Unit]
|
||||||
|
Description=GnuPG cryptographic agent and passphrase cache (restricted)
|
||||||
|
Documentation=man:gpg-agent(1)
|
||||||
|
|
||||||
|
[Socket]
|
||||||
|
ListenStream=$(gpgconf --list-dirs socketdir)
|
||||||
|
FileDescriptorName=extra
|
||||||
|
Service=gpg-agent.service
|
||||||
|
SocketMode=0600
|
||||||
|
DirectoryMode=0700
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
||||||
|
|
9
systemd/user/gpg-agent.service
Normal file
9
systemd/user/gpg-agent.service
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=GnuPG cryptographic agent and passphrase cache
|
||||||
|
Documentation=man:gpg-agent(1)
|
||||||
|
Requires=gpg-agent.socket
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Environment="GNUPGHOME=%h/.local/share/gnupg"
|
||||||
|
ExecStart=/usr/bin/gpg-agent --supervised
|
||||||
|
ExecReload=/usr/bin/gpgconf --reload gpg-agent
|
|
@ -33,7 +33,6 @@ set showcmd
|
||||||
set number
|
set number
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
|
||||||
if (empty($TMUX) && getenv('TERM_PROGRAM') != 'Apple_Terminal')
|
if (empty($TMUX) && getenv('TERM_PROGRAM') != 'Apple_Terminal')
|
||||||
if (has("nvim"))
|
if (has("nvim"))
|
||||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||||
|
|
Loading…
Reference in a new issue