From 75a30f0b8a5d307f1f04ac07837832492b1fc0ba Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 31 Aug 2017 20:46:12 +0200 Subject: [PATCH] mv dummy_secrets: add root ssh authorized key --- mv/dummy_secrets/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mv/dummy_secrets/default.nix b/mv/dummy_secrets/default.nix index 0967ef424..84a5e1186 100644 --- a/mv/dummy_secrets/default.nix +++ b/mv/dummy_secrets/default.nix @@ -1 +1,8 @@ -{} +{ config, ... }: +{ + users.users.root = { + openssh.authorizedKeys.keys = [ + config.krebs.users.mv.pubkey + ]; + }; +}