From 01b3abaf226bfcb97508a5c799bad62cdcb1bc57 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Wed, 13 Jul 2022 07:41:39 +0100 Subject: [PATCH] configuration: enable avahi, set hostname, add comments --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 7cdc508..f1567c3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,6 +1,14 @@ { + networking.hostName = "visionfive-nix"; + # Enable ssh on boot services.openssh.enable = true; + + # Open port 19999 for Netdata networking.firewall.allowedTCPPorts = [ 19999 ]; 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; }