From 87763bcc7d13e92b96c5743507795fba4444eabe Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 22 Dec 2025 11:08:57 -0600 Subject: give up on agenix; set up remote deploys (not currently working) --- modules/services/nixos/ssh.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules/services') diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix index 6db41bf..bf1aefe 100644 --- a/modules/services/nixos/ssh.nix +++ b/modules/services/nixos/ssh.nix @@ -1,5 +1,4 @@ { - pkgs, config, lib, ... @@ -9,8 +8,14 @@ in lib.mkIf cfg.enable { services.openssh = { enable = true; + hostKeys = [ + { + path = "/etc/ssh/ssh_host_ed25519_key"; + type = "ed25519"; + } + ]; settings = { - PermitRootLogin = "no"; + PermitRootLogin = "prohibit-password"; PasswordAuthentication = false; }; }; -- cgit v1.3.1