diff options
author | lassulus <lass@aidsballs.de> | 2016-07-23 19:21:23 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-07-23 19:21:23 +0200 |
commit | f978c5312e1f88dd936495ff0fcd3a3aa032d90f (patch) | |
tree | 56e10a2cf4ced3d18d4ee8bfd4ba066e42a079d2 /tv/2configs/sshd.nix | |
parent | 29ef105c46287bb9964269004a56c51d4a2834bd (diff) | |
parent | c546bc8c2dc1ec0fa120c79df3de4d977ce322ed (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs/sshd.nix')
-rw-r--r-- | tv/2configs/sshd.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tv/2configs/sshd.nix b/tv/2configs/sshd.nix new file mode 100644 index 000000000..943f32fe9 --- /dev/null +++ b/tv/2configs/sshd.nix @@ -0,0 +1,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"; +} |