summaryrefslogtreecommitdiff
path: root/modules/users/defin.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2023-11-20 23:21:50 -0700
committerDevin Finlinson <devin.finlinson@pm.me>2023-11-20 23:21:50 -0700
commit987f764e659c80a7cf485ebbea75dd7c90ebd525 (patch)
tree94e1ac3703d41d42eee97179a889ecd798a39a35 /modules/users/defin.nix
parentc8c00cfd413555f8916ba65b77b4cd9d4cd7e6df (diff)
open port 2200 for isp reasons
Diffstat (limited to 'modules/users/defin.nix')
-rw-r--r--modules/users/defin.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/users/defin.nix b/modules/users/defin.nix
index b9c46f9..ae0f04e 100644
--- a/modules/users/defin.nix
+++ b/modules/users/defin.nix
@@ -24,5 +24,8 @@
nix.settings.allowed-users = [ "defin" ];
# I can't think of a better spot to put this rn.
- services.openssh.settings.PasswordAuthentication = false;
+ services.openssh = {
+ ports = [ 22 2200 ]; # needed because isp blocks ssh over 22
+ settings.PasswordAuthentication = false;
+ };
} \ No newline at end of file