diff options
author | tv <tv@krebsco.de> | 2016-02-01 17:40:25 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-01 17:40:25 +0100 |
commit | bb1dbae8187601cea2ddfbdcdc9baa456bc5b4ab (patch) | |
tree | 9baf432b207294094acb4f1a71d54c5dd07bdf13 /tv/2configs | |
parent | d6ded00d012d4fb2a2a0a824604b25dac35ee349 (diff) |
tv: open ssh port by default
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 310077021..abe9d3de8 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -163,12 +163,17 @@ with lib; } { + tv.iptables.enable = true; + } + + { services.openssh = { enable = true; hostKeys = [ { type = "ed25519"; path = "/etc/ssh/ssh_host_ed25519_key"; } ]; }; + tv.iptables.input-internet-accept-new-tcp = singleton "ssh"; } { |