Commit 1576e85
Changed files (3)
modules
flake
hosts
chaser-kevin
chaser-pardofelis
modules/flake/meta.nix
@@ -22,6 +22,10 @@
description = "System of the host.";
example = "x86_64-linux";
};
+ hostPubKey = mkOption {
+ type = types.str;
+ description = "Public host key of the host.";
+ };
};
};
in
modules/hosts/chaser-kevin/default.nix
@@ -6,6 +6,7 @@
}: {
flake.meta.host.hosts.kevin = {
system = "x86_64-linux";
+ hostPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOO9CyAqGo/WbJkncrt1a9jxS1E+hd550SC4A08I/l0/ root@kevin";
};
flake.modules.nixos."hosts/kevin" = {
imports =
modules/hosts/chaser-pardofelis/default.nix
@@ -1,6 +1,7 @@
{config, ...}: {
flake.meta.host.hosts.pardofelis = {
system = "x86_64-linux";
+ hostPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuT/WkeA7btTeATmWJ2O9f/A6FI0Gl/1KjPGfHbWD5C root@pardofelis";
};
flake.modules.nixos."hosts/pardofelis" = {
imports = with config.flake.modules.nixos; [