Skip to content

Commit

Permalink
fix(recover): ssh not working
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Dec 19, 2023
1 parent 0d13053 commit 16cb71b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions recover.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
hardware.enableAllFirmware = true;
nixpkgs.config.allowUnfree = true;
users = {
users.root.password = "";
users.root.password = "root";
mutableUsers = false;
};
networking = {
Expand Down Expand Up @@ -64,11 +64,7 @@
zip
];

services.openssh = {
enable = true;
settings.PermitRootLogin = "without-password";
};

services.openssh.enable = true;

programs = {
tmux.enable = true;
Expand Down

0 comments on commit 16cb71b

Please sign in to comment.