From a6cdeb134c22116e585c73ef21b7f2f19a31232f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 20 Jun 2023 14:01:32 +0800 Subject: [PATCH] nixops: add atse user --- nixops/common-users.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixops/common-users.nix b/nixops/common-users.nix index 89814b8d..ddb2f7a6 100644 --- a/nixops/common-users.nix +++ b/nixops/common-users.nix @@ -112,6 +112,13 @@ "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBDXMbJEPn0mM2Bgt6eMAd+c0J5oPSvquZG+BxKdUf0qbeQldRaoB26NHMZnLte/fS00U/cqStLWDiwtEvH5WlbbawsMBymm65zbWMByebXhBDjdr6a1kkOFcKJvAL9qVBQ==" ]; }; + atse = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout"]; + openssh.authorizedKeys.keys = [ + "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJHMX1YDnBPQfZyGVtc93u4TIFWqnHEe6WB/eTeiOjFulitXzGfhsODZ08GzTi2+YKk7spRiPKNwRPTKFuW2PPe3Xig8b75qRMIeIVX3b7e0i6xP85eg4jdiz0LD2YGUHQ==" + ]; + }; dpn = { isNormalUser = true;