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 | 80928f3a135fc636080ea6217c403f71cebefd17 (patch) | |
tree | d6da5e772311b2f84dc7ee0d93d7c866e0959570 /tv/2configs | |
parent | 821a650575d6260334cf1beb5ec1de27634075d1 (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 3100770..abe9d3d 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"; } { |