2022-06-25 17:37:18 +02:00
{
2022-07-13 08:45:40 +02:00
imports = [
./examples/launchCageOnBoot.nix
] ;
2022-07-13 08:43:23 +02:00
# networking = {
# interfaces."wlan0".useDHCP = true;
# wireless = {
# interfaces = [ "wlan0" ];
# enable = true;
# networks = {
# myWifiNetworkSSID.pskRaw = "29f4be0s82e33c18149cdcfc869f84ce6a8831fb492e35d759468f6103bf8a31"; # pskRaw is the result of running wpa_passphrase 'SSID' 'PASSWORD'
# WIFI_SSID.psk = "WIFI_PASSWORD";
# };
# };
# };
2022-07-13 08:41:39 +02:00
networking . hostName = " v i s i o n f i v e - n i x " ;
2023-02-16 11:37:41 +01:00
boot . kernelParams = [ " b o o t . s h e l l _ o n _ f a i l " ] ;
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
2022-07-13 17:49:27 +02:00
services . avahi = {
openFirewall = true ;
nssmdns = true ; # Allows software to use Avahi to resolve.
enable = true ;
publish = {
enable = true ;
addresses = true ;
workstation = true ;
} ;
} ;
2022-06-25 17:37:18 +02:00
}