From a8792f8372b7bad98af04f2cd1fa204429ad8bd7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 11 Feb 2020 00:55:46 +0000 Subject: [PATCH] feat(ops/nixos/nugget): Enable tailscale-relay --- ops/nixos/nugget/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix index cd0f08e6e..c8ab867fd 100644 --- a/ops/nixos/nugget/default.nix +++ b/ops/nixos/nugget/default.nix @@ -11,6 +11,10 @@ config: let lieer = (pkgs.third_party.lieer {}); in pkgs.lib.fix(self: { + imports = [ + ../modules/tailscale.nix + ]; + hardware = { pulseaudio.enable = true; cpu.intel.updateMicrocode = true; @@ -237,6 +241,14 @@ in pkgs.lib.fix(self: { }; }; + # Use Tailscale \o/ + services.tailscale = { + enable = true; + relayConf = "/etc/tailscale/relay.conf"; + aclFile = null; # allow all traffic for testing + package = pkgs.third_party.tailscale; + }; + # ... and other nonsense. system.stateVersion = "19.09"; })