Avoid typing out the home path

This commit is contained in:
Manuel Thalmann 2024-05-16 16:53:10 +02:00
parent 53842bb680
commit 42166b10a7

View file

@ -154,7 +154,7 @@ in {
in {
"userKeys-${name}" = {
source = "${homeDir}/.ssh";
target = "/home/${name}/.ssh";
target = "${config.users.users.${name}.home}/.ssh";
};
})
config.users.myUsers));