fix(uconsole): resolve conflicting SSH options + properly override nixos-uconsole's nixos-raspberrypi input
- mkForce on PermitRootLogin and PasswordAuthentication - nixos-uconsole.inputs.nixos-raspberrypi follows our fork
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
# ============================================================
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "prohibit-password";
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
settings.PasswordAuthentication = lib.mkForce false;
|
||||
};
|
||||
|
||||
users.users.root = {
|
||||
|
||||
Reference in New Issue
Block a user