summaryrefslogtreecommitdiffstats
path: root/mv/dummy_secrets/default.nix
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
commit75a30f0b8a5d307f1f04ac07837832492b1fc0ba (patch)
treeacb56fd4a291321adac3824a96eba37cbe6498e9 /mv/dummy_secrets/default.nix
parent24393b8c1c48e48acd5a83853485c141dad17774 (diff)
mv dummy_secrets: add root ssh authorized key
Diffstat (limited to 'mv/dummy_secrets/default.nix')
-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 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
+ ];
+ };
+}