stockholm/tv/2configs/sshd.nix

17 lines
283 B
Nix
Raw Normal View History

2016-07-23 11:11:50 +00:00
{ config, lib, pkgs, ... }:
2016-10-20 18:54:38 +00:00
with import <stockholm/lib>;
2016-07-23 11:11:50 +00:00
{
services.openssh = {
enable = true;
hostKeys = [
{
type = "ed25519";
path = "/etc/ssh/ssh_host_ed25519_key";
}
];
};
tv.iptables.input-internet-accept-tcp = singleton "ssh";
}