diff --git a/0tests/data/secrets/hass/tile.nix b/0tests/data/secrets/hass/tile.nix new file mode 100644 index 0000000..cbcf433 --- /dev/null +++ b/0tests/data/secrets/hass/tile.nix @@ -0,0 +1,4 @@ +{ + username = "lol"; + password = "wut"; +} diff --git a/2configs/home/ham/default.nix b/2configs/home/ham/default.nix index 6ab3cd4..e17cfc3 100644 --- a/2configs/home/ham/default.nix +++ b/2configs/home/ham/default.nix @@ -23,6 +23,7 @@ in { # ./multi/fliegen-couter.nix ./device_tracker/openwrt.nix + ./device_tracker/tile.nix ./sensor/outside.nix diff --git a/2configs/home/ham/device_tracker/tile.nix b/2configs/home/ham/device_tracker/tile.nix new file mode 100644 index 0000000..ad1e6c1 --- /dev/null +++ b/2configs/home/ham/device_tracker/tile.nix @@ -0,0 +1,10 @@ +{ + + services.home-assistant.config.device_tracker = + [ + { inherit (import ) username password; + platform = "tile"; + show_inactive = true; + } + ]; +}