diff options
| author | seth <[email protected]> | 2024-02-04 16:40:38 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-04 16:41:47 -0500 |
| commit | 5f848623dff7cbcd21911032e5fd4c77bcf7d413 (patch) | |
| tree | 7462ae7abec5beee71443702b330e3eeca1a407f /ext/terranix/tailscale/devices.nix | |
| parent | 371235663a4e8d783dfc4294bb0b10cd3206c9c6 (diff) | |
tree-wide: better separate/name some things
Diffstat (limited to 'ext/terranix/tailscale/devices.nix')
| -rw-r--r-- | ext/terranix/tailscale/devices.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/terranix/tailscale/devices.nix b/ext/terranix/tailscale/devices.nix new file mode 100644 index 0000000..44ee3f1 --- /dev/null +++ b/ext/terranix/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" + ]; +} |
