summaryrefslogtreecommitdiffstats
path: root/mv/dummy_secrets
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-08-31 20:46:12 +0200
committertv <tv@krebsco.de>2017-08-31 20:46:12 +0200
commit67af9af33476c5103a1219e8ca5e1925c8de695e (patch)
treec1bf4059cd7e86c53a32bc82b29812b0e54de37d /mv/dummy_secrets
parent4c92dee8799668f80ff580506be31f2dbd4fc7c7 (diff)
mv dummy_secrets: add root ssh authorized key
Diffstat (limited to 'mv/dummy_secrets')
-rw-r--r--mv/dummy_secrets/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/mv/dummy_secrets/default.nix b/mv/dummy_secrets/default.nix
index 0967ef4..84a5e11 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
+ ];
+ };
+}