From dbfc61a2a27d3f45749213477c48c25b8e6f58ab Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Sat, 9 Nov 2024 12:46:49 +0100 Subject: [PATCH] Allow root login (scary) for lapetus deployment --- hosts/nixos/lapetus/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/nixos/lapetus/default.nix b/hosts/nixos/lapetus/default.nix index 8ba2606..8dab344 100644 --- a/hosts/nixos/lapetus/default.nix +++ b/hosts/nixos/lapetus/default.nix @@ -67,6 +67,8 @@ ../tethys/keys/id_ed25519.pub ]; + # Trying this out for deployment, although it's a bit scary + services.openssh.settings.PermitRootLogin = "yes"; users.users.root.openssh.authorizedKeys.keyFiles = config.users.users.pilot.openssh.authorizedKeys.keyFiles; # }}}