aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-08-30 12:00:08 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-08-30 12:00:08 +0200
commitc06fcee3d298dab15853b2841955a986fc5ebdbc (patch)
tree87a1ee9129a9e97aa8e91039f080e2a144808e73 /modules
parent4f8c735bc7e86c1c3cd692c7120a61f0e04af161 (diff)
downloaddotfiles-c06fcee3d298dab15853b2841955a986fc5ebdbc.tar.gz
dotfiles-c06fcee3d298dab15853b2841955a986fc5ebdbc.zip
fix(home): allowlist Signing Key item so git commit signing works
Diffstat (limited to 'modules')
-rw-r--r--modules/home/onepassword.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/home/onepassword.nix b/modules/home/onepassword.nix
index a9ce718..5cccc1b 100644
--- a/modules/home/onepassword.nix
+++ b/modules/home/onepassword.nix
@@ -5,11 +5,20 @@
# agent exposes every SSH key in every vault, and servers drop the connection
# after ~6 failed offers before reaching the right one. Order is the order
# the agent offers them in, so the default key goes first.
+ #
+ # Git commit signing also runs through this agent: op-ssh-sign asks it for
+ # signing.key from git.nix (SHA256:bJijYfOAsuLQBTfz9P8ncrp0Uft3+wyRov4a8VqcVkE).
+ # Dropping the item that holds that key breaks signing, silently until the
+ # next commit. Verify with `ssh-add -l` after changing this list.
home.file.".config/1Password/ssh/agent.toml".text = ''
[[ssh-keys]]
item = "Default"
[[ssh-keys]]
item = "jp-gitlab"
+
+ # Git commit signing (git.nix signing.key)
+ [[ssh-keys]]
+ item = "Signing Key"
'';
}