enable sshd
This commit is contained in:
parent
c61223b4da
commit
eed97c13a2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue