feat(openssh): init module

This commit is contained in:
2025-09-20 13:21:56 -06:00
parent aec7d608df
commit 021b3e9f19
4 changed files with 21 additions and 22 deletions

View File

@@ -105,16 +105,9 @@
(import ../../scripts/vpn-tools { inherit pkgs; })
];
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
X11Forwarding = true;
# This server is connected to the internet! Port 22 is open!!
# Aagghhhh!!! Stay safe!
PasswordAuthentication = false;
};
};
# This server is connected to the internet! Port 22 is open!! Aagghhhh!!!
# Stay safe!
services.openssh.settings.PasswordAuthentication = false;
# This option defines the first version of NixOS you have installed on this
# particular machine, and is used to maintain compatibility with application