From f58349a5690001aaead5ee50321f05a870e2b87e Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 30 Dec 2025 10:27:23 -0600 Subject: declare github authentication key --- modules/services/nixos/ssh.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/services/nixos/ssh.nix') diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix index b594a2d..2867d10 100644 --- a/modules/services/nixos/ssh.nix +++ b/modules/services/nixos/ssh.nix @@ -4,11 +4,10 @@ ... }: let cfg = config.collinux.services.networking.sshd; -in - lib.mkIf cfg.enable { +in { + config = lib.mkIf cfg.enable { services.openssh = { enable = true; - openFirewall = true; hostKeys = [ { path = "/etc/ssh/ssh_host_ed25519_key"; @@ -22,4 +21,5 @@ in }; services.tailscale.extraSetFlags = lib.optional config.services.tailscale.enable "--ssh=true"; - } + }; +} -- cgit v1.3.1