enable sshd

This commit is contained in:
♥ Minnie ♥ 2023-12-01 05:52:42 +08:00
parent c61223b4da
commit eed97c13a2

View file

@ -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