about summary refs log tree commit diff
path: root/modules/services/ssh-server
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/ssh-server')
-rw-r--r--modules/services/ssh-server/default.nix17
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/services/ssh-server/default.nix b/modules/services/ssh-server/default.nix
deleted file mode 100644
index ce5d4c8..0000000
--- a/modules/services/ssh-server/default.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{ ... }: {
-  services.openssh = {
-    enable = true;
-    permitRootLogin = "yes";
-    passwordAuthentication = false;
-  };
-
-  programs.mosh.enable = true;
-
-  networking.firewall.allowedTCPPorts = [ 22 ];
-
-  # Relevant ports for mosh
-  networking.firewall.allowedUDPPortRanges = [{
-    from = 6000;
-    to = 6100;
-  }];
-}