ssh cypher changes
This commit is contained in:
parent
966828ba68
commit
8b7aa5c3c1
|
@ -46,9 +46,8 @@
|
|||
clusterLimit = 4;
|
||||
outgoingAddressFamily = "dual";
|
||||
};
|
||||
|
||||
in {
|
||||
environment.etc."misskey.yml".text = (pkgs.lib.generators.toYAML {} misskeyConfig);
|
||||
environment.etc."misskey.yml".text = pkgs.lib.generators.toYAML {} misskeyConfig;
|
||||
|
||||
users.users."misskey" = {
|
||||
isNormalUser = true;
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
{ fetchurl, fetchgit, linkFarm, runCommand, gnutar }: rec {
|
||||
{
|
||||
fetchurl,
|
||||
fetchgit,
|
||||
linkFarm,
|
||||
runCommand,
|
||||
gnutar,
|
||||
}: rec {
|
||||
offline_cache = linkFarm "offline" packages;
|
||||
packages = [
|
||||
{
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
enable = true;
|
||||
port = 22;
|
||||
authorizedKeys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
ciphers = ["chacha20-poly1305@openssh.com" "aes256-gcm@openssh.com" "aes128-gcm@openssh.com" "aes256-ctr" "aes192-ctr" "aes128-ctr"];
|
||||
hostKeys = ["/ssh_host_ed25519_key"];
|
||||
};
|
||||
postCommands = ''
|
||||
|
|
Loading…
Reference in a new issue