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"; }