This commit is contained in:
soraefir
2026-05-02 21:12:43 +02:00
parent 5aa041ba27
commit 301d8d1ea6

View File

@@ -10,7 +10,6 @@ in {
services.openssh.enable = true;
services.openssh.ports = [ 422 ];
services.openssh.extraConfig = activeUsers;
users.users = lib.mapAttrs (name: userList: {
openssh.authorizedKeys.keys = lib.unique (
lib.concatMap (u: if u ? pubssh then [ u.pubssh ] else []) userList