add anarkafem.dev, minor tweaks
This commit is contained in:
parent
3ed18d33fc
commit
0969b36564
18 changed files with 374 additions and 15 deletions
12
config/common/services/openssh.nix
Normal file
12
config/common/services/openssh.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
challengeResponseAuthentication = false;
|
||||
hostKeys = [ { "path" = "/etc/ssh/ssh_host_ed25519_key"; "type" = "ed25519"; } ];
|
||||
kexAlgorithms = [ "curve25519-sha256" "curve25519-sha256@libssh.org" ];
|
||||
macs = [ "hmac-sha2-512-etm@openssh.com" "hmac-sha2-512-etm@openssh.com" "umac-128-etm@openssh.com" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue