From 45f52491650fad01e503067b62a31d102cb65cac Mon Sep 17 00:00:00 2001 From: andromeda Date: Sat, 10 Jan 2026 15:30:17 +0100 Subject: fix ssh --- machines.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'machines.nix') diff --git a/machines.nix b/machines.nix index 21408be..8d23c09 100644 --- a/machines.nix +++ b/machines.nix @@ -54,12 +54,9 @@ # ssh through port 5522 among other things # andromeda@lenovo is the only user allowed access - # ./modules/nixos/networking/hard-ssh.nix - #./modules/nixos/networking/ssh-as-root.nix - ({config, ...}: { - services.openssh.enable = true; - users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda]; - }) + ./modules/nixos/networking/hard-ssh.nix + ./modules/nixos/networking/ssh-as-root.nix + ({config, ...}: {users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];}) # TODO add Impermanence to the following services -- cgit v1.3