mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
ops: filter for user on tailscale
This commit is contained in:
parent
18b03e5d6a
commit
d3c0fd5b3d
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
|
@ -153,6 +153,9 @@ func main() {
|
|||
}
|
||||
|
||||
for _, device := range tailnet.Devices {
|
||||
if device.User != "kat@inskip.me" {
|
||||
continue
|
||||
}
|
||||
device_name := strings.Split(device.Name, ".")[0]
|
||||
ipv4 := DNSRecord{
|
||||
Name: device_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue