summaryrefslogtreecommitdiff
path: root/nixos/hosts/apocalypse/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nixos/hosts/apocalypse/default.nix14
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;
+ };
+ };
}