From 66a517c64a040fee1b26663add847d5451e9281f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 29 Aug 2022 14:29:41 +0800 Subject: [PATCH] add yuk user --- nixops/common-users.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixops/common-users.nix b/nixops/common-users.nix index 77711102..2fd85dc0 100644 --- a/nixops/common-users.nix +++ b/nixops/common-users.nix @@ -112,6 +112,13 @@ "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPKRgjkgD9ZAPpA43gNLJj1DnQ2AtzFK0UCB0Wuf68THEFNeVadeB7ox6Hxje4H+f5+FtYde98VXwe7LwFgr9YCODFk8fR2m11pZQFsy2J0HYqTSidAfuziMEnfsjhkKFw==" ]; }; + yuk = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout" "libvirtd"]; + openssh.authorizedKeys.keys = [ + "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBON6eEML7La1TVKeitvPKpEb+1oqiRZEowILLtNHeUM4l15mAwPK00gZXjdDxq+dTHUjPhRNn8Y4fMPdcCDo/pMD8TsLGzi/p7xh89oPEwJPODWfJcp9pR7fPkuoZV/Vlg==" + ]; + }; dpn = { isNormalUser = true;