From 7536316133e148125df9510c28867d0484dcb629 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Tue, 9 Aug 2016 15:16:16 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20clef=20ssh=20=C3=A0=20root?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/activation-manuelle/users.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/activation-manuelle/users.nix b/base/activation-manuelle/users.nix index d2a809d..0107586 100644 --- a/base/activation-manuelle/users.nix +++ b/base/activation-manuelle/users.nix @@ -20,6 +20,12 @@ in { security.sudo.wheelNeedsPassword = !(profiles.isPrunetwork && profiles.isServer); + users.extraUsers.root = { + openssh.authorizedKeys.keys = [ + radxJPierre03 + ]; + }; + users.extraUsers.jpierre03 = mkIf profiles.isPrunetwork { isNormalUser = true; createHome = true;