From 03cea3ba8fea453fa5ca1611c7d8af152e2fcaaa Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 11 Dec 2023 19:08:10 -0500 Subject: start using opentofu --- tofu/tailscale/devices.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tofu/tailscale/devices.nix (limited to 'tofu/tailscale/devices.nix') diff --git a/tofu/tailscale/devices.nix b/tofu/tailscale/devices.nix new file mode 100644 index 0000000..44ee3f1 --- /dev/null +++ b/tofu/tailscale/devices.nix @@ -0,0 +1,17 @@ +{lib, ...}: { + data.tailscale_device = let + toDevices = devices: + lib.genAttrs devices (name: { + name = "${name}.tailc59d6.ts.net"; + wait_for = "60s"; + }); + in + toDevices [ + "atlas" + "caroline" + "glados" + "glados-wsl" + "glados-windows" + "iphone-14" + ]; +} -- cgit v1.2.3