From 19a69a14d658ed87c0cd841b22d4884944fb7388 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 28 May 2021 16:07:18 +0800 Subject: [PATCH] nixops: add starchen user --- nixops/common-users.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixops/common-users.nix b/nixops/common-users.nix index 345feff5..d53e98ed 100644 --- a/nixops/common-users.nix +++ b/nixops/common-users.nix @@ -84,6 +84,13 @@ "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJDEHOerlYRjkTaaa9HLLjTRuLAkPdhcRiizUkmANKgKdO17xZ7Or05dAGeeivv+TEmJShSK0EljhGv/+pTHrf/L0d7pExSjyb0m08iYb8gLCoQVx7hcFLIGiYnNoLab9g==" ]; }; + starchen = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout"]; + openssh.authorizedKeys.keys = [ + "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBMw2xmufQWNttrEH90tGS8ixztFnX2p9cPfkbLDL4qdDFSbW1wSzW+rWd/zk10JvAGT7RgcG8zgV+XP3SUJz1UNEWAe4B4/ngNZztFJhJyhDWXETiVvumLuUkAGM1Naskw==" + ]; + }; dpn = { isNormalUser = true;