diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-30 10:27:23 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-30 10:27:23 -0600 |
| commit | f58349a5690001aaead5ee50321f05a870e2b87e (patch) | |
| tree | b4907a67591bd02c61652fd99941a0e0e4cb6602 /modules/services/nixos/ssh.nix | |
| parent | 3c79a42686239c84ab6531f21f51882e4c622732 (diff) | |
declare github authentication key
Diffstat (limited to 'modules/services/nixos/ssh.nix')
| -rw-r--r-- | modules/services/nixos/ssh.nix | 8 |
1 files changed, 4 insertions, 4 deletions
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"; - } + }; +} |
