diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-09-01 15:36:31 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-09-01 15:36:31 -0500 |
| commit | 49d6eba0669d113143927b7fc547e24e24546bbd (patch) | |
| tree | 96816d8b5f40ec5dcf3782ca78db8872334a7cb9 /modules/services/system/tailscale.nix | |
| parent | bd1e90c102b265e63b5c98b3b1393247d84f09f4 (diff) | |
tailscale
Diffstat (limited to 'modules/services/system/tailscale.nix')
| -rw-r--r-- | modules/services/system/tailscale.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/services/system/tailscale.nix b/modules/services/system/tailscale.nix new file mode 100644 index 0000000..3fbd691 --- /dev/null +++ b/modules/services/system/tailscale.nix @@ -0,0 +1,15 @@ +{ + config, + pkgs, + lib, + ... +}: let + cfg = config.collinux.services.networking.tailscale; +in + lib.mkIf cfg.enable { + services.tailscale = { + enable = true; + useRoutingFeatures = "both"; + }; + environment.systemPackages = [pkgs.tailscale]; + } |
