restructured & first test of toggleable config

This commit is contained in:
2025-10-04 11:26:42 -05:00
parent 142dd3b568
commit 887e7c2b97
6 changed files with 85 additions and 0 deletions

15
modules/system/ssh.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
# enable and configure openssh
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = "no";
X11Forwarding = false;
};
};
}