summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-12-04 17:34:25 +0100
committermakefu <github@syntax-fehler.de>2021-12-04 17:34:25 +0100
commit33d13bff84c85ad9f22300598a0c4115e3361f7f (patch)
treec35b93605c15717f70e491b6071f461d5354d93f
parent14f05eb886992d64fc5b245dc45819a9cb06708f (diff)
ma ham: add tile
-rw-r--r--makefu/0tests/data/secrets/hass/tile.nix4
-rw-r--r--makefu/2configs/home/ham/default.nix1
-rw-r--r--makefu/2configs/home/ham/device_tracker/tile.nix10
3 files changed, 15 insertions, 0 deletions
diff --git a/makefu/0tests/data/secrets/hass/tile.nix b/makefu/0tests/data/secrets/hass/tile.nix
new file mode 100644
index 000000000..cbcf433f7
--- /dev/null
+++ b/makefu/0tests/data/secrets/hass/tile.nix
@@ -0,0 +1,4 @@
+{
+ username = "lol";
+ password = "wut";
+}
diff --git a/makefu/2configs/home/ham/default.nix b/makefu/2configs/home/ham/default.nix
index 6ab3cd46c..e17cfc35d 100644
--- a/makefu/2configs/home/ham/default.nix
+++ b/makefu/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/makefu/2configs/home/ham/device_tracker/tile.nix b/makefu/2configs/home/ham/device_tracker/tile.nix
new file mode 100644
index 000000000..ad1e6c15d
--- /dev/null
+++ b/makefu/2configs/home/ham/device_tracker/tile.nix
@@ -0,0 +1,10 @@
+{
+
+ services.home-assistant.config.device_tracker =
+ [
+ { inherit (import <secrets/hass/tile.nix>) username password;
+ platform = "tile";
+ show_inactive = true;
+ }
+ ];
+}