Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
8 changes: 8 additions & 0 deletions gpg-agent-macos.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pinentry-program /opt/homebrew/bin/pinentry-mac
enable-ssh-support
default-cache-ttl-ssh 28800
max-cache-ttl-ssh 43200
debug-level advanced
log-file /var/log/gpg-agent.log
default-cache-ttl 600
max-cache-ttl 7200
22 changes: 18 additions & 4 deletions install.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,28 @@
path: gitconfig
~/.vimrc: vimrc
~/.zshrc: zshrc
~/.gnupg/gpg-agent.conf:
force: true
create: true
path: gpg-agent.conf
~/.config/sway/config:
force: true
create: true
path: sway-config



# gpg-agent.conf has no `include` directive, and pinentry-program requires a
# literal absolute path (no ~ or $HOME expansion), so a single shared file
# cannot work across platforms. Two variants, selected by uname.
# These are separate `link:` blocks on purpose: both map the same destination,
# which would collide as a duplicate key inside one block.
- link:
~/.gnupg/gpg-agent.conf:
if: '[ "$(uname -s)" = "Darwin" ]'
force: true
create: true
path: gpg-agent-macos.conf

- link:
~/.gnupg/gpg-agent.conf:
if: '[ "$(uname -s)" != "Darwin" ]'
force: true
create: true
path: gpg-agent-linux.conf