aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/default.nix10
-rw-r--r--public/aforemny.id_rsa.pub1
m---------secrets0
-rw-r--r--systems/system1/configuration.nix1
-rw-r--r--terraform.output.json7
5 files changed, 19 insertions, 0 deletions
diff --git a/configs/default.nix b/configs/default.nix
new file mode 100644
index 0000000..7d65206
--- /dev/null
+++ b/configs/default.nix
@@ -0,0 +1,10 @@
+{ ... }:
+# TODO `fysiweb` should import config
+#
+# `config/default.nix` should automatically be imported by all systems through
+# `fysiweb deploy`, if it exists.
+{
+ users.users.root.openssh.authorizedKeys.keyFiles = [
+ ../public/aforemny.id_rsa.pub
+ ];
+}
diff --git a/public/aforemny.id_rsa.pub b/public/aforemny.id_rsa.pub
new file mode 100644
index 0000000..5b2b7c4
--- /dev/null
+++ b/public/aforemny.id_rsa.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDK6usuxR5wQpgJp8MlCK0DC7d2G69hOMzLylRlEciI6x+tGfpNua2IHQ/4JwDrVu1mbP39YbRyKBKzu2qKV7ZQp9oOoFYUeYaf/IuwfSCb48dWUeVTRzLnW7oP7X5T6fg7t+rio9ZBLpuoDS55DHNOlbSPSK2WpjJDvsS4VfXbi123P061FjwUyGHORZjBN+nHBAlE6vekPZSMmZLLQ6c0xx+Gc6B3FQAT92Jg83YMnL6fOUwKHDeCwUAj6jIhcDmYr+WhHl0gWPngmX3y58h160Ma0Fb215VtCxxLndTDKCWuP+OjTIykq372EXTAwmloG2ZF2pdS93BDpYijtZMz aforemny@x1e
diff --git a/secrets b/secrets
-Subproject be3e21a903bfb6fa2a8041385331969bbfecdd1
+Subproject 9086d50a88d76a24308406eb2f014dec2e13872
diff --git a/systems/system1/configuration.nix b/systems/system1/configuration.nix
index c930171..d39af2e 100644
--- a/systems/system1/configuration.nix
+++ b/systems/system1/configuration.nix
@@ -2,6 +2,7 @@
imports = [
<fysiweb/configs>
<fysiweb/configs/hcloud>
+ ../../configs
];
networking.hostName = "system1";
diff --git a/terraform.output.json b/terraform.output.json
new file mode 100644
index 0000000..045b102
--- /dev/null
+++ b/terraform.output.json
@@ -0,0 +1,7 @@
+{
+ "system1-ipv4_address": {
+ "sensitive": false,
+ "type": "string",
+ "value": "49.13.201.137"
+ }
+}