From df9e8ae8bf9209c3755d0491d2e85c39c96380e0 Mon Sep 17 00:00:00 2001 From: xunuwu Date: Wed, 15 Jan 2025 14:13:46 +0100 Subject: [PATCH] logging things --- nix/machines/hopper/lab/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nix/machines/hopper/lab/default.nix b/nix/machines/hopper/lab/default.nix index 463f11b..42815da 100644 --- a/nix/machines/hopper/lab/default.nix +++ b/nix/machines/hopper/lab/default.nix @@ -367,6 +367,19 @@ in { targets = ["127.0.0.1:${toString config.services.prometheus.exporters.systemd.port}"]; }; } + { + job_name = "tailscale_client"; + static_configs = lib.singleton { + targets = ["100.100.100.100"]; + }; + } + # TODO figure out why i cant connect to slskd locally + # { + # job_name = "slskd"; + # static_configs = lib.singleton { + # targets = ["127.0.0.1:${toString slskdUiPort}"]; + # }; + # } ]; }; @@ -397,6 +410,10 @@ in { environmentFile = config.sops.secrets.slskd.path; domain = null; # why isnt this the default? settings = { + metrics = { + enabled = true; + authentication.disabled = true; + }; remote_file_management = true; shares.directories = ["/media/library/music"]; soulseek = {