feat(yubikey): configure GPG signing key and disable GCR ssh-agent

Set actual GPG key ID for git commit signing, disable GCR ssh-agent
socket so gpg-agent handles SSH auth, and trim redundant setup steps
from yubikey guide.
This commit is contained in:
2026-04-04 02:12:02 -04:00
parent 1ca8cc8c57
commit 7c25228bc5
2 changed files with 5 additions and 24 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
home.username = "l-wyatt";
@@ -121,6 +121,9 @@
};
};
# Disable GCR ssh-agent so gpg-agent handles SSH
systemd.user.sockets.gcr-ssh-agent.Install.WantedBy = lib.mkForce [];
# GPG configuration
programs.gpg = {
enable = true;
@@ -141,7 +144,7 @@
programs.git = {
enable = true;
signing = {
key = null; # Will be set after GPG key generation
key = "0xADCEAC560B498269";
signByDefault = true;
};
settings = {