2022-06-25 17:37:18 +02:00
|
|
|
{
|
2022-07-13 08:41:39 +02:00
|
|
|
networking.hostName = "visionfive-nix";
|
|
|
|
|
2022-07-13 08:40:23 +02:00
|
|
|
# Enable ssh on boot
|
|
|
|
services.openssh.enable = true;
|
2022-07-13 08:41:39 +02:00
|
|
|
|
|
|
|
# Open port 19999 for Netdata
|
2022-06-25 17:37:18 +02:00
|
|
|
networking.firewall.allowedTCPPorts = [ 19999 ];
|
|
|
|
services.netdata.enable = true;
|
2022-07-13 08:41:39 +02:00
|
|
|
|
|
|
|
# Enable Avahi mDNS, you should be able to reach http://visionfive-nix:19999
|
|
|
|
# to reach netdata when booted
|
|
|
|
services.avahi.enable = true;
|
2022-06-25 17:37:18 +02:00
|
|
|
}
|