Thingvellir fixes
This commit is contained in:
@@ -8,12 +8,15 @@ in
|
||||
enable = lib.mkEnableOption "ssh";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# TODO: Use ssh keys
|
||||
PasswordAuthentication = true;
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# TODO: Use ssh keys
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
# fail2ban.enable = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
Reference in New Issue
Block a user