diff options
Diffstat (limited to 'nixos/hosts/apocalypse/default.nix')
| -rw-r--r-- | nixos/hosts/apocalypse/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/hosts/apocalypse/default.nix b/nixos/hosts/apocalypse/default.nix index a84d07d..a6e6233 100644 --- a/nixos/hosts/apocalypse/default.nix +++ b/nixos/hosts/apocalypse/default.nix @@ -69,6 +69,20 @@ # Firmware updates services.fwupd.enable = true; + + services.openssh = { + enable = true; + ports = [22]; + openFirewall = false; + allowSFTP = false; + settings = { + PasswordAuthentication = false; + AllowUsers = ["wilkuu"]; + X11Forwarding = false; + PermitRootLogin = "no"; + PrintMotd = true; + }; + }; } |
