17 lines
277 B
Nix
17 lines
277 B
Nix
|
{ 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";
|
||
|
}
|