From 8fa6ed6444a3df3647bed8396b42936bdf76ab39 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 21 Sep 2026 15:28:08 -0500 Subject: new machines! random other changes --- modules/services/nixos/openssh.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'modules/services') diff --git a/modules/services/nixos/openssh.nix b/modules/services/nixos/openssh.nix index 4826369..eb8bff6 100644 --- a/modules/services/nixos/openssh.nix +++ b/modules/services/nixos/openssh.nix @@ -5,7 +5,6 @@ ... }: let cfg = config.collinux.services.sshd; - pure = x: [x]; authorizedKeys = hosts @@ -18,15 +17,19 @@ in { enable = true; allowSFTP = true; - hostKeys = pure { - path = "/etc/ssh/ssh_host_ed25519_key"; - type = "ed25519"; - }; + hostKeys = [ + { + path = "/etc/ssh/ssh_host_ed25519_key"; + type = "ed25519"; + } + ]; - listenAddresses = pure { - addr = "0.0.0.0"; - port = cfg.port; - }; + listenAddresses = [ + { + addr = "0.0.0.0"; + port = cfg.port; + } + ]; settings = { PermitRootLogin = "yes"; -- cgit v1.3.1