14 lines
384 B
Nix
14 lines
384 B
Nix
{
|
|
services.openssh = {
|
|
enable = true;
|
|
knownHosts.quadraticpc.publicKeyFile = builtins.fetchurl {
|
|
url = "https://github.com/Henry-Hiles.keys";
|
|
sha256 = "1k73c228rgzq7ymf5vaj6wfqzkqm6yzq5lq0syb7mzbrvngvr2jc";
|
|
};
|
|
settings = {
|
|
PasswordAuthentication = true; # TODO: False
|
|
AllowUsers = ["quadradical"];
|
|
PermitRootLogin = "no";
|
|
};
|
|
};
|
|
}
|