updates / experimental TC setup

This commit is contained in:
2026-10-24 10:44:58 +02:00
parent 3c25fc5d41
commit d36b281a4d
48 changed files with 1147 additions and 718 deletions
+9 -4
View File
@@ -5,7 +5,12 @@
# Client-only + accept-routes.
#
# SSH via NetBird: enabled (Q7).
{config, lib, pkgs, ...}: let
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkOption types;
cfg = config.az.tc;
hostname = config.networking.hostName;
@@ -29,7 +34,7 @@ in {
};
};
config = mkIf cfg.enable {
config = mkIf (cfg.enable && cfg.features.netbird) {
services.netbird.enable = true;
systemd.services.netbird = {
@@ -40,8 +45,8 @@ in {
};
path = with pkgs; [shadow util-linux];
after = ["age-identity.service" "network-online.target"];
wants = ["age-identity.service" "network-online.target"];
after = ["age-identity.service" "NetworkManager-wait-online.service"];
wants = ["age-identity.service" "NetworkManager-wait-online.service"];
};
# Per-host setup key (agenix)