configuration: enable avahi, set hostname, add comments

This commit is contained in:
matthewcroughan 2022-07-13 07:41:39 +01:00
parent adfd8f4835
commit 01b3abaf22

View File

@ -1,6 +1,14 @@
{ {
networking.hostName = "visionfive-nix";
# Enable ssh on boot # Enable ssh on boot
services.openssh.enable = true; services.openssh.enable = true;
# Open port 19999 for Netdata
networking.firewall.allowedTCPPorts = [ 19999 ]; networking.firewall.allowedTCPPorts = [ 19999 ];
services.netdata.enable = true; services.netdata.enable = true;
# Enable Avahi mDNS, you should be able to reach http://visionfive-nix:19999
# to reach netdata when booted
services.avahi.enable = true;
} }