summaryrefslogtreecommitdiffstats
path: root/mv/dummy_secrets
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-01 21:52:48 +0200
committerlassulus <lassulus@lassul.us>2017-09-01 21:52:48 +0200
commit6bb5eeeb0551deea4532976df5238b888788c94e (patch)
tree125201d24bcca4cebacbb046f76ddf2dba0d7492 /mv/dummy_secrets
parent1234efe72de6912f0a728eaac6c64979a729c973 (diff)
parent056b02ed05a38a8a032ad70b4ec092dd07ba6736 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'mv/dummy_secrets')
-rw-r--r--mv/dummy_secrets/default.nix8
-rw-r--r--mv/dummy_secrets/ssh.ed255193
2 files changed, 11 insertions, 0 deletions
diff --git a/mv/dummy_secrets/default.nix b/mv/dummy_secrets/default.nix
new file mode 100644
index 000000000..84a5e1186
--- /dev/null
+++ b/mv/dummy_secrets/default.nix
@@ -0,0 +1,8 @@
+{ config, ... }:
+{
+ users.users.root = {
+ openssh.authorizedKeys.keys = [
+ config.krebs.users.mv.pubkey
+ ];
+ };
+}
diff --git a/mv/dummy_secrets/ssh.ed25519 b/mv/dummy_secrets/ssh.ed25519
new file mode 100644
index 000000000..a7d2adab4
--- /dev/null
+++ b/mv/dummy_secrets/ssh.ed25519
@@ -0,0 +1,3 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+dummy
+-----END OPENSSH PRIVATE KEY-----