Home Gen451 @ 2025-02-12-18:41

This commit is contained in:
2025-02-12 18:41:25 +01:00
parent 5a29eb5970
commit a3a2e3ab9e
2 changed files with 6 additions and 3 deletions

View File

@@ -37,7 +37,10 @@
'';
};
home.sessionVariables = {
SSH_AUTH_SOCK = "$\{XDG_RUNTIME_DIR\}/gnupg/S.gpg-agent.ssh";
SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh";
};
systemd.user.settings.Manager.DefaultEnvironment = lib.mapAttrs (_: lib.mkDefault) {
SSH_AUTH_SOCK = "/run/user/%U/gnupg/S.gpg-agent.ssh";
};
};
}