config

NixOS config
Log | Files | Refs | README | LICENSE

commit 0dfd9fb2328de6add7de9e609b1e2f9329b1a260 (tree)
parent 6ec97217764735b50a210bc355efd8b2ae4b13da
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Sun, 22 Oct 2023 23:06:06 +0300

silenceLogs => !verboseLogs

Diffstat:
Mmodules/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 @@ -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"; }) ]);