summaryrefslogtreecommitdiff
path: root/os/srv/tailscale.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/srv/tailscale.nix')
-rw-r--r--os/srv/tailscale.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/os/srv/tailscale.nix b/os/srv/tailscale.nix
deleted file mode 100644
index 5c8d72e..0000000
--- a/os/srv/tailscale.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ config, lib, ... }:
-let
- cfg = config.os.srv.tailscale;
-in
-{
- options.os.srv.tailscale.enable = lib.mkEnableOption "enables tailscale vpn";
-
- config = lib.mkIf cfg.enable {
- services.tailscale = {
- enable = true;
- openFirewall = true;
- useRoutingFeatures = "client";
- };
- networking.firewall = {
- trustedInterfaces = [ "tailscale0" ];
- checkReversePath = "loose";
- };
- };
-}