summaryrefslogtreecommitdiff
path: root/nix/modules/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/ssh.nix')
-rw-r--r--nix/modules/ssh.nix13
1 files changed, 0 insertions, 13 deletions
diff --git a/nix/modules/ssh.nix b/nix/modules/ssh.nix
deleted file mode 100644
index c816f1c..0000000
--- a/nix/modules/ssh.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ config, lib, ... }:
-{
- services.openssh = {
- enable = true;
- settings = {
- PasswordAuthentication = false;
- AllowUsers = [ config.monorepo.vars.userName "git" ];
- PermitRootLogin = "no";
- KbdInteractiveAuthentication = false;
- };
- };
- networking.firewall.allowedTCPPorts = lib.mkIf config.services.openssh.enable [ 22 ];
-}