From 82b257d05450cd64ba8cca85183e05ed31537f1d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 25 May 2021 09:24:07 +0800 Subject: [PATCH] Revert "nixops: remove occheung user" This reverts commit 3a3f14e5c13de579c3009216abf7f17df3fe643c. --- nixops/common-users.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixops/common-users.nix b/nixops/common-users.nix index 6add85a..1623800 100644 --- a/nixops/common-users.nix +++ b/nixops/common-users.nix @@ -43,6 +43,13 @@ ]; shell = pkgs.zsh; }; + occheung = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout" "wireshark"]; + openssh.authorizedKeys.keys = [ + "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPEvmWmxpFpMgp5fpjKud8ev0cyf/+X5fEpQt/YD/+u4mbvZYPE300DLqQ0h/qjgvaGMz1ndf4idYnRdy+plJEC/+hmlRW5NlcpAr3S/LYAisacgKToFVl+MlBo+emS9Ig==" + ]; + }; ak = { isNormalUser = true; openssh.authorizedKeys.keys = [