forked from raito/shared-public-infra
infra(epyc): add my key on builder and iperf3 server
This commit is contained in:
parent
f6c1177c38
commit
df0771e346
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
../modules/ipmi-supermicro.nix
|
||||
../modules/hardware/supermicro-H12SSL-i.nix
|
||||
../modules/iperf-server.nix
|
||||
];
|
||||
|
||||
networking.hostName = "epyc";
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
home = "/home/nix";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZpEtSfB0GDwcELc5/AKNiBZJV9OVfQ0BMFzBlF+8Yd raito@everywhere"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3hCOyFwuoCLt5W9e9yQSwj9I+VspB0kNNHsoFngbgZ raito@thors"
|
||||
];
|
||||
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