Update SSH authorized keys path to use local username variable
This commit is contained in:
parent
84def1a37b
commit
39ad4beff8
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@
|
||||||
security.pam.sshAgentAuth = {
|
security.pam.sshAgentAuth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authorizedKeysFiles = [
|
authorizedKeysFiles = [
|
||||||
"/etc/ssh/authorized_keys.d/${user}.keys"
|
"/etc/ssh/authorized_keys.d/${config.local.username}.keys"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue