From e2b2391cf76fee2c4a9f2c87122571490a0e573f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Wed, 15 May 2024 17:19:24 +0200 Subject: [PATCH] Configure gnupg config directory properly --- dotfiles.yml | 2 ++ zsh/zprofile.j2 | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles.yml b/dotfiles.yml index 342f5f8..8b53921 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -15,6 +15,8 @@ empty_directories: - name: .config/i3 - name: .config/zsh - name: .config/alacritty + - name: .local/state/gnupg/ + mode: '0700' dotfiles: - from: git/gitconfig to: .config/git/config diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 41a7bac..07edc8d 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -54,8 +54,6 @@ export ANSIBLE_GALAXY_CACHE_DIR="${XDG_CACHE_HOME}/ansible/galaxy_cache" export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker export GNUPGHOME="$XDG_STATE_HOME"/gnupg -mkdir -p "${GNUPGHOME}" -chmod --quiet 700 "${GNUPGHOME}" export PYTHON_HISTORY=$XDG_STATE_HOME/python/history export PYTHONPYCACHEPREFIX=$XDG_CACHE_HOME/python