feat : Add modular service to hostname

This commit is contained in:
Wateir 2025-12-21 20:37:17 +01:00
parent 9453773af6
commit 1637885001
11 changed files with 112 additions and 66 deletions

View file

@ -1,17 +1,17 @@
{config,lib, ... }:
{ config, lib, pkgs, ... }:
{
lib.mkIf config.sTAILSCALE.enable {
services.tailscale = {
enable = true;
extraDaemonFlags = [
"--no-logs-no-support"
];
enable = true;
extraDaemonFlags = [
"--no-logs-no-support"
];
extraSetFlags = [
"--ssh=false"
];
useRoutingFeatures = "server"; # or "client" / "both"
};
extraSetFlags = [
"--ssh=false"
];
useRoutingFeatures = "server";
};
networking.firewall = {
allowedTCPPorts = [ 443 ];