Fix ssh
This commit is contained in:
1 parent
b0f5ef7439
commit
59709bcde9
1 file changed
-1
@@ -9,7 +9,6 @@ in {
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh.ports = [ 422 ];
|
||||
services.openssh.extraConfig = activeUsers;#[ 422 ];
|
||||
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