nixos-config/crypto/ssh-keys.nix

21 lines
684 B
Nix
Raw Normal View History

2024-04-22 05:51:31 +02:00
rec {
2024-04-26 15:06:55 +02:00
user = {
enry = "null";
phoenix = "null";
2024-04-22 05:51:31 +02:00
};
2024-04-26 15:06:55 +02:00
tasia = {
new-new-phoenix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLyDLtqUhEQwIsPx0XgQ9OJb2+XxL+2ra4goNJEgwf0 tasia@new-new-phoenix";
2024-04-22 05:51:31 +02:00
};
2024-04-26 15:06:55 +02:00
host = {
enry = "enry ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHCPPE7U87PZ4+BQrdJtPuD/ibf9ubyPAqcRJe6Lpc2D"; # same
phoenix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTqExIIZuW9yvK7mgveNK8KDGKaRswrjj/nwVDwUdeL root@phoenix"; # host or user ?
new-new-phoenix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFXu/iFf6yhi6A0f6Lvp+wyltMHq1YgxZan5OdCKP9gE root@new-new-phoenix";
2024-04-22 05:51:31 +02:00
};
}
2024-04-26 15:06:55 +02:00
programs.ssh.knownHosts = {
"new-new-phoenix".publicKey = sshKeys.new-new-phoenix.host;
};