From c54c2596538d43ea914bddc9e514dd2e123293cf Mon Sep 17 00:00:00 2001 From: min Date: Wed, 16 Oct 2024 22:38:44 -0400 Subject: [PATCH] Lock down SSH on eidola --- nixos/hosts/eidola/configuration.nix | 7 +++++++ nixos/hosts/eidola/default.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/eidola/configuration.nix b/nixos/hosts/eidola/configuration.nix index 6df6bd4..e66ec44 100644 --- a/nixos/hosts/eidola/configuration.nix +++ b/nixos/hosts/eidola/configuration.nix @@ -54,6 +54,13 @@ enable = true; settings.PasswordAuthentication = false; settings.KbdInteractiveAuthentication = false; + + listenAddresses = [ + { + addr = "10.13.1.1"; + port = 22; + } + ]; }; # My modules diff --git a/nixos/hosts/eidola/default.nix b/nixos/hosts/eidola/default.nix index c8b1e0a..8bdb2b6 100644 --- a/nixos/hosts/eidola/default.nix +++ b/nixos/hosts/eidola/default.nix @@ -6,7 +6,7 @@ }; deployment = { - host = "192.168.1.159"; + host = "10.13.1.1"; user = "root"; port = 22;