summaryrefslogtreecommitdiffstats
path: root/tv/2configs/sshd.nix
blob: 943f32fe99b924c35adfb9780d96d8c41f86de93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, pkgs, ... }:

with config.krebs.lib;

{
  services.openssh = {
    enable = true;
    hostKeys = [
      {
        type = "ed25519";
        path = "/etc/ssh/ssh_host_ed25519_key";
      }
    ];
  };
  tv.iptables.input-internet-accept-tcp = singleton "ssh";
}