Compare commits

..

No commits in common. "2851273d18c7d935eff5da9f7f32df13dd2eb47c" and "f7eaef0d18f318e4908259e460e637fe7701b72d" have entirely different histories.

View file

@ -1,10 +1,6 @@
{ pkgs, lib, ... }: {
# Don't expose SSH via public interfaces
networking.firewall.interfaces.wg-ssh.allowedTCPPorts = [ 22 ];
{ pkgs, ... }: {
services.openssh = {
enable = true;
openFirewall = lib.mkDefault false;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;