infra(epyc): add my key on builder and iperf3 server

This commit is contained in:
raito 2023-06-08 17:43:37 +02:00
parent f6c1177c38
commit df0771e346
3 changed files with 8 additions and 0 deletions

View file

@ -2,6 +2,7 @@
imports = [ imports = [
../modules/ipmi-supermicro.nix ../modules/ipmi-supermicro.nix
../modules/hardware/supermicro-H12SSL-i.nix ../modules/hardware/supermicro-H12SSL-i.nix
../modules/iperf-server.nix
]; ];
networking.hostName = "epyc"; networking.hostName = "epyc";

View file

@ -4,6 +4,7 @@
home = "/home/nix"; home = "/home/nix";
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZpEtSfB0GDwcELc5/AKNiBZJV9OVfQ0BMFzBlF+8Yd raito@everywhere" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZpEtSfB0GDwcELc5/AKNiBZJV9OVfQ0BMFzBlF+8Yd raito@everywhere"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3hCOyFwuoCLt5W9e9yQSwj9I+VspB0kNNHsoFngbgZ raito@thors"
]; ];
uid = 5001; uid = 5001;
}; };

6
modules/iperf-server.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }: {
services.iperf3 = {
enable = true;
openFirewall = true;
};
}