aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/argonath.nix1
-rw-r--r--machines/bree.nix1
-rw-r--r--machines/rivendell.nix1
-rw-r--r--modules/host-config.nix4
4 files changed, 7 insertions, 0 deletions
diff --git a/machines/argonath.nix b/machines/argonath.nix
index cfefd46..3d1b1eb 100644
--- a/machines/argonath.nix
+++ b/machines/argonath.nix
@@ -16,6 +16,7 @@
networking.hostName = "argonath";
wgPublicKey = "vTItDh9YPnA+8hL1kIK+7EHv0ol3qvhfAfz790miw1w=";
+ publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHi9jHqRjpMzXlznTXi4nEtlRlFfyIzB6Ur9A+HDfFoq";
age.secrets = {
wireguard.file = ../secrets/argonath/wireguard.age;
diff --git a/machines/bree.nix b/machines/bree.nix
index 7fadda0..24089a0 100644
--- a/machines/bree.nix
+++ b/machines/bree.nix
@@ -22,6 +22,7 @@
systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP;
wgPublicKey = "bJZyQoemudGJQox8Iegebm23c4BNVIxRPy1kmI2l904=";
+ publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFM4wZaYwz8kuu6lNrdrN6QOyouGQ0v1ye+Iwh1jawNi";
age.secrets = {
wireguard.file = ../secrets/bree/wireguard.age;
diff --git a/machines/rivendell.nix b/machines/rivendell.nix
index d1b95aa..6b16d67 100644
--- a/machines/rivendell.nix
+++ b/machines/rivendell.nix
@@ -57,6 +57,7 @@
systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP;
wgPublicKey = "jf7T7TMKQWSgSXhUplldZDV9G2y2BjMmHIAhg5d26ng=";
+ publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID76U5kt8DfBbuP16rMzfBTVTpjjPFKWnnheMALaCQEd";
services = {
website = {
diff --git a/modules/host-config.nix b/modules/host-config.nix
index 7aa4ecb..92d8eea 100644
--- a/modules/host-config.nix
+++ b/modules/host-config.nix
@@ -9,5 +9,9 @@
type = lib.types.nullOr lib.types.str;
default = null;
};
+ publicKey = lib.mkOption {
+ type = lib.types.str;
+ default = "xxxx";
+ };
};
}