infra(epyc): add my key on builder and iperf3 server
This commit is contained in:
parent
107cc6e53f
commit
696929edb4
|
@ -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";
|
||||||
|
|
|
@ -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
6
modules/iperf-server.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ ... }: {
|
||||||
|
services.iperf3 = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue