🔧 [shared] Added ssh config for pi4 and homelab
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = with lib.custom; [
|
||||||
|
(relativeToRoot "shared/modules/security/ssh.nix")
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -13,5 +13,13 @@
|
|||||||
extraHostNames = [ "thinkpad.${domain}" ];
|
extraHostNames = [ "thinkpad.${domain}" ];
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNlHKE/BD8kKfhJD7GBk1A3whZf3gTjk9VEgGAj3qsH";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNlHKE/BD8kKfhJD7GBk1A3whZf3gTjk9VEgGAj3qsH";
|
||||||
};
|
};
|
||||||
|
pi4 = {
|
||||||
|
extraHostNames = [ "pi4.${domain}" ];
|
||||||
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJE9m7YiITe1sDqSZ7Pa8luIw3WToLsypixZEqE4wCQE";
|
||||||
|
};
|
||||||
|
homelab = {
|
||||||
|
extraHostNames = [ "homelab.${domain}" ];
|
||||||
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIARDv5nRlfPDXdV+Db4FaqeSJZ3/3MO0frYGzuVeqYAl";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user