diff --git a/systems/desktop.nix b/systems/desktop.nix index 7c5c8cd..ba2edf6 100644 --- a/systems/desktop.nix +++ b/systems/desktop.nix @@ -149,5 +149,15 @@ in { }; };*/ + services.openssh = { + enable = true; + passwordAuthentication = false; + challengeResponseAuthentication = false; + }; + + users.users.root.openssh.authorizedKeys.keys = [ + (builtins.readFile ../private/joepie91.pub) + ]; + nix.useSandbox = true; }