From 16cb71b2d9be03e7a77526acc150d6ecafd53945 Mon Sep 17 00:00:00 2001 From: klarkc Date: Sat, 1 Jul 2023 20:56:11 -0300 Subject: [PATCH] fix(recover): ssh not working --- recover.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/recover.nix b/recover.nix index cd4fe06..41d14e3 100644 --- a/recover.nix +++ b/recover.nix @@ -2,7 +2,7 @@ hardware.enableAllFirmware = true; nixpkgs.config.allowUnfree = true; users = { - users.root.password = ""; + users.root.password = "root"; mutableUsers = false; }; networking = { @@ -64,11 +64,7 @@ zip ]; - services.openssh = { - enable = true; - settings.PermitRootLogin = "without-password"; - }; - + services.openssh.enable = true; programs = { tmux.enable = true;