stockholm/tv/2configs/sshd.nix
2016-10-20 20:54:38 +02:00

17 lines
283 B
Nix

{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
services.openssh = {
enable = true;
hostKeys = [
{
type = "ed25519";
path = "/etc/ssh/ssh_host_ed25519_key";
}
];
};
tv.iptables.input-internet-accept-tcp = singleton "ssh";
}