From fd09cd0c0076a6f70a0c7897904e0d7d21343817 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 4 Apr 2022 15:05:49 +0800 Subject: [PATCH] nixops: add wylited account --- nixops/common-users.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixops/common-users.nix b/nixops/common-users.nix index 48b6d3a0..ae3129c2 100644 --- a/nixops/common-users.nix +++ b/nixops/common-users.nix @@ -105,6 +105,13 @@ "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBGtaB32Ri1O7zRVG+1ADXmhwbK0r8R+c5W1RJd7cab5O9jp10wI+0JArFgK8u4m9oaR1rrVy4ym8wWMNu8vGKVTgyK+6UK87qTD96pnzwTyvzKCMOIHVBAPsnVfdOSKXLQ==" ]; }; + wylited = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout"]; + openssh.authorizedKeys.keys = [ + "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBFCHjHMQ2PVeedJSsgjIEhUHx0Qi3C5D/iKSeEkhn4gvNgkfBUOL7hZ7NjY7umOz+FaaW7Zj62dTTn8AN3HIFk0jBt6ZgihoCE1eqAxAVMhKnCNR47DT1eYTeWDpkoAERg==" + ]; + }; dpn = { isNormalUser = true;