added key generation to leyla user configuration

This commit is contained in:
Leyla Becker 2024-09-18 13:17:11 -05:00
parent dbd4407754
commit e97b8738e5

View file

@ -56,6 +56,15 @@ in
) )
]; ];
# TODO: this should reference the home directory from the user config
services.openssh.hostKeys = [
{
path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519";
rounds = 100;
type = "ed25519";
}
];
home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix); home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix);
}; };
} }