From fb3c39d7dcd6d57858f28106b00b3df8c3368c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 14 Sep 2023 14:48:54 +0300 Subject: [PATCH] re-enable tailscale, oops --- hosts/fwminex/configuration.nix | 1 - modules/services/default.nix | 4 ++-- modules/services/tailscale/default.nix | 13 +++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 333c478..8fe64ff 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -103,7 +103,6 @@ }; services = { - xserver = { enable = true; desktopManager.gnome.enable = true; diff --git a/modules/services/default.nix b/modules/services/default.nix index c31cbed..d07d8ac 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -1,7 +1,7 @@ { config, -lib, -pkgs, + lib, + pkgs, ... }: { imports = [ diff --git a/modules/services/tailscale/default.nix b/modules/services/tailscale/default.nix index 16fdf41..c1d0350 100644 --- a/modules/services/tailscale/default.nix +++ b/modules/services/tailscale/default.nix @@ -15,11 +15,12 @@ }; config = with config.mj.services.tailscale; - lib.mkIf enable { + lib.mkIf enable ({ services.tailscale.enable = true; - networking.firewall.checkReversePath = "loose"; # for tailscale - } - // lib.mkIf silenceLogs { - systemd.services.tailscale.serviceConfig."StandardOutput" = "null"; - }; + networking.firewall.checkReversePath = "loose"; + networking.firewall.allowedUDPPorts = [41641]; + #} + #// lib.mkIf silenceLogs { + # systemd.services.tailscaled.serviceConfig."StandardOutput" = "null"; + }); }