From f758eebc424baad5936d9c497aae5a9aafd71c3b Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Wed, 18 Sep 2024 13:17:11 -0500 Subject: [PATCH] added key generation to leyla user configuration --- users/leyla/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/users/leyla/default.nix b/users/leyla/default.nix index d0a9a96..76e5a25 100644 --- a/users/leyla/default.nix +++ b/users/leyla/default.nix @@ -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); }; } \ No newline at end of file