Update SSH authorized keys path to use local username variable

This commit is contained in:
Root User 2026-02-06 21:37:44 +01:00
parent 84def1a37b
commit 39ad4beff8
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -46,7 +46,7 @@
security.pam.sshAgentAuth = {
enable = true;
authorizedKeysFiles = [
"/etc/ssh/authorized_keys.d/${user}.keys"
"/etc/ssh/authorized_keys.d/${config.local.username}.keys"
];
};