From 7b7bf0708226f704e6a66a4a43cb24bf0379d36e Mon Sep 17 00:00:00 2001 From: BuyMyMojo Date: Fri, 4 Apr 2025 19:54:51 +1100 Subject: [PATCH] Enable tailscale on nixos --- nixos/flake.lock | 4 ++-- nixos/hosts/nixos/services.nix | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/nixos/flake.lock b/nixos/flake.lock index bf024c2..d57f6a0 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -327,11 +327,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-rADqSJu492bURPi5fmvPyeG1B5bV3k2hfGR+VfHn1Ig=", - "path": "/nix/store/a38igb5r8xpg1488qcgqmx5smdxsdik5-source/nixos/programs/shadps4", + "path": "/nix/store/yij96zw3v76xkxzaa1zrp6nw69ih0axh-source/nixos/programs/shadps4", "type": "path" }, "original": { - "path": "/nix/store/a38igb5r8xpg1488qcgqmx5smdxsdik5-source/nixos/programs/shadps4", + "path": "/nix/store/yij96zw3v76xkxzaa1zrp6nw69ih0axh-source/nixos/programs/shadps4", "type": "path" } }, diff --git a/nixos/hosts/nixos/services.nix b/nixos/hosts/nixos/services.nix index 86aaa14..cae8f13 100644 --- a/nixos/hosts/nixos/services.nix +++ b/nixos/hosts/nixos/services.nix @@ -54,7 +54,14 @@ }; }; - # services.blocky = { + tailscale.enable = true; + + tailscale.extraSetFlags = [ + "--advertise-exit-node" + "--exit-node-allow-lan-access" + ]; + + # blocky = { # enable = true; # settings = { # ports.dns = 53; # Port for incoming DNS Queries.