Compare commits
No commits in common. "2851273d18c7d935eff5da9f7f32df13dd2eb47c" and "f7eaef0d18f318e4908259e460e637fe7701b72d" have entirely different histories.
2851273d18
...
f7eaef0d18
|
@ -1,10 +1,6 @@
|
||||||
{ pkgs, lib, ... }: {
|
{ pkgs, ... }: {
|
||||||
# Don't expose SSH via public interfaces
|
|
||||||
networking.firewall.interfaces.wg-ssh.allowedTCPPorts = [ 22 ];
|
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = lib.mkDefault false;
|
|
||||||
settings = {
|
settings = {
|
||||||
PermitRootLogin = "prohibit-password";
|
PermitRootLogin = "prohibit-password";
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
|
|
Loading…
Reference in a new issue