fixing ssh and fireqos
This commit is contained in:
parent
e752805f52
commit
0efadc588d
5 changed files with 7 additions and 61 deletions
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
# nix-shell -p speedtest_cli --run speedtest
|
# nix-shell -p speedtest_cli --run speedtest
|
||||||
configuration.fireqos = {
|
configuration.fireqos = {
|
||||||
enable = true;
|
enable = false;
|
||||||
interface = "enp0s25";
|
interface = "enp0s25";
|
||||||
input = 200000;
|
input = 200000;
|
||||||
output = 2000;
|
output = 2000;
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
mosh
|
mosh
|
||||||
mediainfo
|
mediainfo
|
||||||
youtube-dl
|
youtube-dl
|
||||||
|
ipset # for sshguard
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
services.openssh.knownHosts = {
|
services.openssh.knownHosts = {
|
||||||
"robi" = {
|
"robi" = {
|
||||||
hostNames = [
|
hostNames = [
|
||||||
|
"robi.private"
|
||||||
"robi"
|
"robi"
|
||||||
"144.76.13.147"
|
"144.76.13.147"
|
||||||
|
"git.ingolf-wagner.de"
|
||||||
];
|
];
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2PGX6cZuBUGX4VweMzi0aRh4uQ61yngCzZGcK3w5XV";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2PGX6cZuBUGX4VweMzi0aRh4uQ61yngCzZGcK3w5XV";
|
||||||
};
|
};
|
||||||
|
@ -25,14 +27,6 @@
|
||||||
];
|
];
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDyHmHJy2Va45p9mn+Hj3DyaY5yxnQIKvXeACHjzgSKt";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDyHmHJy2Va45p9mn+Hj3DyaY5yxnQIKvXeACHjzgSKt";
|
||||||
};
|
};
|
||||||
"workout.private" = {
|
|
||||||
hostNames = [
|
|
||||||
"workout.private"
|
|
||||||
"workout.lan"
|
|
||||||
config.module.cluster.services.tinc.private.hosts.workout.tincIp
|
|
||||||
];
|
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICjotuQJHDaL0fPY7yA2dIBVWRYOkp7/ablY60psMQ6w";
|
|
||||||
};
|
|
||||||
"sputnik.private" = {
|
"sputnik.private" = {
|
||||||
hostNames = [
|
hostNames = [
|
||||||
"sputnik.private"
|
"sputnik.private"
|
||||||
|
@ -78,10 +72,5 @@
|
||||||
publicKey =
|
publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGhBtcipW9rV6hHS2hv5tl5hd8vW8dnuFfFwnAs2u0kS";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGhBtcipW9rV6hHS2hv5tl5hd8vW8dnuFfFwnAs2u0kS";
|
||||||
};
|
};
|
||||||
"cracksucht.de" = {
|
|
||||||
hostNames = [ "cracksucht.de" ];
|
|
||||||
publicKey =
|
|
||||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVqpWzX+C7veO/1MDSdh5ukFhpI4cfXevbl6DVb9gVt1wdYB0JsiMiWfl13MZJy9iEP/KfwRLYmu8i36tDR9uJfHQyLK8G7q2DhrleIPgM3dFCdDU1QtulE8hEq/ZsqzMn/QIHYIipIqzNfmC/xnpX2gIo09T7EY+n863ALlj+GqxMb4nr2XDLY+Lllo2yMzylJIz9q8U5hOmzrlCnBpf2MPMwanHXnZXj2CmO80VyBHnAMJ/h72AN1qzDaHFlhxh0Li/POc1bpDjiVjiUPgimHZWpi3VObxWLLn2zf+RH2lx0yXMccSEnkWvHp+Ll5apIUUS+vTlDo3niWpEfGZLl root@debian";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,11 +80,6 @@ with lib;
|
||||||
publicKey =
|
publicKey =
|
||||||
"ssh-rsa AAAAB3N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uH9cONs21HkxE6Aj85LSSJCRwiyL+WBEibDcDVy+W5hicAp/m7sL+sezFkNzru0X10G1kuC01+HZT8I5Be3xQ9llWkMkVaO5L7N9+SUXxZSMtwI9uEU8iPuXhb9ETyIR530kipydOljD6nA3hRC12nnE2T0d";
|
|
||||||
};
|
|
||||||
"siteground" = {
|
"siteground" = {
|
||||||
hostNames = [ "[es5.siteground.eu]:18765" "[37.60.224.6]:18765" ];
|
hostNames = [ "[es5.siteground.eu]:18765" "[37.60.224.6]:18765" ];
|
||||||
publicKey =
|
publicKey =
|
||||||
|
|
|
@ -4,74 +4,35 @@ with lib; {
|
||||||
home-manager.users.mainUser = {
|
home-manager.users.mainUser = {
|
||||||
programs.ssh.enable = true;
|
programs.ssh.enable = true;
|
||||||
programs.ssh.matchBlocks = {
|
programs.ssh.matchBlocks = {
|
||||||
"lassul.us" = {
|
"*" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
identityFile = "~/.ssh/card_rsa.pub";
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
|
};
|
||||||
|
"lassul.us" = {
|
||||||
user = "download";
|
user = "download";
|
||||||
port = 45621;
|
port = 45621;
|
||||||
};
|
};
|
||||||
"*.r" = {
|
"*.r" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
"*.secret" = {
|
"*.secret" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
"*.private" = {
|
"*.private" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
"*.lan" = {
|
"*.lan" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
"*.ingolf-wagner.de" = {
|
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
extraOptions.HostKeyAlgorithms = "ssh-rsa";
|
|
||||||
user = "root";
|
|
||||||
};
|
|
||||||
"git.renoise.com" = {
|
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
extraOptions.HostKeyAlgorithms = "ssh-rsa";
|
|
||||||
};
|
|
||||||
"*.renoise.com" = {
|
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"*.sononym.net" = {
|
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"github.com" = {
|
"github.com" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
hostname = "ssh.github.com";
|
hostname = "ssh.github.com";
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
"es5.siteground.eu" = {
|
"es5.siteground.eu" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
user = "ingolfwa";
|
user = "ingolfwa";
|
||||||
port = 18765;
|
port = 18765;
|
||||||
};
|
};
|
||||||
"bitbucket.org" = {
|
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"static.247.134.201.195.clients.your-server.de" = {
|
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"*.onion" = {
|
"*.onion" = {
|
||||||
identityFile = "~/.ssh/card_rsa.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue