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 | |
| parent | bd1e90c102b265e63b5c98b3b1393247d84f09f4 (diff) | |
tailscale
Diffstat (limited to 'modules/services/system')
| -rw-r--r-- | modules/services/system/default.nix | 1 | ||||
| -rw-r--r-- | modules/services/system/tailscale.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/modules/services/system/default.nix b/modules/services/system/default.nix index 4c03dfd..b9ae4c7 100644 --- a/modules/services/system/default.nix +++ b/modules/services/system/default.nix @@ -3,5 +3,6 @@ ./networking ./audio.nix ./bluetooth.nix + ./tailscale.nix ]; } 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]; + } |
