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