From 398f9d67e5ab12d366edf6fcb61c36cc0454a3bb Mon Sep 17 00:00:00 2001 From: Sachi King Date: Thu, 18 May 2023 09:07:10 +1000 Subject: [PATCH] Enable SSH with root and weak password Provides a way in for initial configuration if not producing an sd-image with the final settings configured ahead of time. --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 92a9d79..7a7bb09 100644 --- a/flake.nix +++ b/flake.nix @@ -97,6 +97,11 @@ }; }; networking.interfaces.br0.useDHCP = true; + + services.openssh.enable = true; + # For initial setup + users.users.root.password = "bananapi"; + services.openssh.settings.PermitRootLogin = "yes"; }) ]; };