Hotfix inability to build when custom user don't have ssh keys

pull/10/head
Inex Code 2021-12-16 13:27:11 +03:00
parent 63aaeec08c
commit 3f42ad5c68
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ in
value = { value = {
isNormalUser = true; isNormalUser = true;
hashedPassword = user.hashedPassword; hashedPassword = user.hashedPassword;
openssh.authorizedKeys.keys = user.sshKeys; openssh.authorizedKeys.keys = (if user ? sshKeys then user.sshKeys else []);
}; };
}) })
cfg.users); cfg.users);