diff options
| author | seth <[email protected]> | 2023-12-11 19:08:10 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-12 22:43:30 -0500 |
| commit | 03cea3ba8fea453fa5ca1611c7d8af152e2fcaaa (patch) | |
| tree | c3f8895328329485714a5e51d928af1bf9892d46 /tofu/tailscale/devices.nix | |
| parent | 988e00c510b1cc6b50e2211c4d0e8852463b1741 (diff) | |
start using opentofu
Diffstat (limited to 'tofu/tailscale/devices.nix')
| -rw-r--r-- | tofu/tailscale/devices.nix | 17 |
1 files changed, 17 insertions, 0 deletions
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" + ]; +} |
