diff --git a/nixos/fuchsia/configuration.nix b/nixos/fuchsia/configuration.nix index 25d30d7..e6e5879 100644 --- a/nixos/fuchsia/configuration.nix +++ b/nixos/fuchsia/configuration.nix @@ -191,6 +191,16 @@ }; services = { + # This setups a SSH server. Very important if you're setting up a headless system. + # Feel free to remove if you don't need it. + openssh = { + enable = true; + # Forbid root login through SSH. + settings.PermitRootLogin = "no"; + # Use keys only. Remove if you want to SSH using password (not recommended) + settings.PasswordAuthentication = false; + }; + udev.packages = with pkgs; [ yubikey-personalization openrgb