mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-29 06:01:28 +00:00
Hotfix inability to build when custom user don't have ssh keys
This commit is contained in:
parent
63aaeec08c
commit
3f42ad5c68
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue