From 0dfd9fb2328de6add7de9e609b1e2f9329b1a260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 22 Oct 2023 23:06:06 +0300 Subject: [PATCH] silenceLogs => !verboseLogs --- modules/services/tailscale/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/tailscale/default.nix b/modules/services/tailscale/default.nix index aaad3a2..48a9f13 100644 --- a/modules/services/tailscale/default.nix +++ b/modules/services/tailscale/default.nix @@ -10,9 +10,9 @@ in { options.mj.services.tailscale = with types; { enable = mkEnableOption "Enable tailscale"; # https://github.com/tailscale/tailscale/issues/1548 - silenceLogs = mkOption { + verboseLogs = mkOption { type = bool; - default = true; + default = false; }; }; @@ -22,7 +22,7 @@ in { networking.firewall.checkReversePath = "loose"; networking.firewall.allowedUDPPorts = [myData.ports.tailscale]; } - (mkIf cfg.silenceLogs { + (mkIf (!cfg.verboseLogs) { systemd.services.tailscaled.serviceConfig.StandardOutput = "null"; }) ]);