From 5460666b4cfea461b5eea9250b113d5979121337 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 4 Dec 2021 17:34:25 +0100 Subject: [PATCH] ma ham: add tile --- 0tests/data/secrets/hass/tile.nix | 4 ++++ 2configs/home/ham/default.nix | 1 + 2configs/home/ham/device_tracker/tile.nix | 10 ++++++++++ 3 files changed, 15 insertions(+) create mode 100644 0tests/data/secrets/hass/tile.nix create mode 100644 2configs/home/ham/device_tracker/tile.nix 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; + } + ]; +}