mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-20 11:50:28 +05:00
15 lines
224 B
Nix
15 lines
224 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
PasswordAuthentication = false;
|
||
|
PermitRootLogin = "no";
|
||
|
AllowUsers = [
|
||
|
"lumin"
|
||
|
"forgejo"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|