diff --git a/nixos/boxes/bolty/grafana.nix b/nixos/boxes/bolty/grafana.nix index dcf812e9..8a21fdd7 100644 --- a/nixos/boxes/bolty/grafana.nix +++ b/nixos/boxes/bolty/grafana.nix @@ -30,6 +30,16 @@ in { wants = [ "tailscale-cert.service" ]; }; + systemd.services.grafana = { + after = [ + "network.target" + "network-online.target" + "tailscaled.service" + "tailscale-cert.service" + "tailscale-auth.service" + ]; + }; + services.grafana = { enable = true; dataDir = path; diff --git a/nixos/boxes/bolty/influxdb.nix b/nixos/boxes/bolty/influxdb.nix index 55022728..f8772d1b 100644 --- a/nixos/boxes/bolty/influxdb.nix +++ b/nixos/boxes/bolty/influxdb.nix @@ -30,6 +30,16 @@ in { wants = [ "tailscale-cert.service" ]; }; + systemd.services.influxdb2 = { + after = [ + "network.target" + "network-online.target" + "tailscaled.service" + "tailscale-cert.service" + "tailscale-auth.service" + ]; + }; + services.influxdb2 = { enable = true; settings = { diff --git a/nixos/common.nix b/nixos/common.nix index dbba5ce7..d267cfda 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -54,8 +54,13 @@ in { shell = pkgs.zsh; }; - networking.nameservers = - [ "9.9.9.9" "2620:fe::fe" "149.112.112.112" "2620:fe::9" ]; + networking.nameservers = [ + "100.100.100.100" + "9.9.9.9" + "2620:fe::fe" + "149.112.112.112" + "2620:fe::9" + ]; networking.hosts = { "10.11.99.1" = [ "remarkable" ]; };