set comment on hostKeys

This commit is contained in:
Leyla Becker 2024-09-18 13:22:18 -05:00
parent f758eebc42
commit eafdd4c712

View file

@ -59,6 +59,7 @@ in
# TODO: this should reference the home directory from the user config # TODO: this should reference the home directory from the user config
services.openssh.hostKeys = [ services.openssh.hostKeys = [
{ {
comment = "leyla@" + config.networking.hostName;
path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519"; path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519";
rounds = 100; rounds = 100;
type = "ed25519"; type = "ed25519";