🚀 disable ssh password login
parent
442555be64
commit
6f626d77c1
|
@ -76,4 +76,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
security.sudo.enable = lib.mkDefault (!config.security.doas.enable);
|
security.sudo.enable = lib.mkDefault (!config.security.doas.enable);
|
||||||
|
|
||||||
|
# Disable ssh password login
|
||||||
|
services.openssh.passwordAuthentication = config.services.openssh.enable;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue