From bc921ec108c3b0359e639dbde536a9ce7b98a6aa Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 9 Mar 2025 12:33:06 -0700 Subject: [PATCH] fix(ssh): Add port back for marleynet --- modules/home/programs/cli/ssh/default.nix | 1 + systems/x86_64-linux/marleynet/default.nix | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/home/programs/cli/ssh/default.nix b/modules/home/programs/cli/ssh/default.nix index fd9c23b..2f45934 100644 --- a/modules/home/programs/cli/ssh/default.nix +++ b/modules/home/programs/cli/ssh/default.nix @@ -22,6 +22,7 @@ in { "marleynet" = { hostname = "10.69.69.2"; + port = 222; identityFile = "%d/.ssh/%r@marleynet"; }; }; diff --git a/systems/x86_64-linux/marleynet/default.nix b/systems/x86_64-linux/marleynet/default.nix index 1778a3c..4c0a516 100644 --- a/systems/x86_64-linux/marleynet/default.nix +++ b/systems/x86_64-linux/marleynet/default.nix @@ -18,8 +18,12 @@ in { "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+hMOzQBPmi6Rjw7fYvwn43w1Dgk+GEooGPnQz2RTcK Generated By Termius" ]; - root.openssh.authorizedKeys.keys = []; + root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPWzW2E6j4eLNPYTmxZGzOXHwlEdTATu6Q9sk/zJBAmE marley@nyx" + ]; }; + services.openssh.ports = [222]; + system.stateVersion = "24.05"; }