Avoid typing out the home path
This commit is contained in:
parent
53842bb680
commit
42166b10a7
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ in {
|
||||||
in {
|
in {
|
||||||
"userKeys-${name}" = {
|
"userKeys-${name}" = {
|
||||||
source = "${homeDir}/.ssh";
|
source = "${homeDir}/.ssh";
|
||||||
target = "/home/${name}/.ssh";
|
target = "${config.users.users.${name}.home}/.ssh";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
config.users.myUsers));
|
config.users.myUsers));
|
||||||
|
|
Loading…
Reference in a new issue