aboutsummaryrefslogtreecommitdiff
path: root/modules/services/system
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-09-01 15:36:31 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-09-01 15:36:31 -0500
commit49d6eba0669d113143927b7fc547e24e24546bbd (patch)
tree96816d8b5f40ec5dcf3782ca78db8872334a7cb9 /modules/services/system
parentbd1e90c102b265e63b5c98b3b1393247d84f09f4 (diff)
tailscale
Diffstat (limited to 'modules/services/system')
-rw-r--r--modules/services/system/default.nix1
-rw-r--r--modules/services/system/tailscale.nix15
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];
+ }