fixx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user