about summary refs log tree commit diff
path: root/nixos/tests/home-assistant.nix
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-01-24 15:52:05 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-01-29 08:56:51 +0100
commit7cc7c5374c1bbad10774d81d81e644662b06acb8 (patch)
treea6e87332abc612324f91e2311d02f3862817bd9f /nixos/tests/home-assistant.nix
parent6cb6b90f1a67f0513fa34c3db880684e6ae533a6 (diff)
downloadnixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.tar
nixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.tar.gz
nixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.tar.bz2
nixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.tar.lz
nixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.tar.xz
nixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.tar.zst
nixlib-7cc7c5374c1bbad10774d81d81e644662b06acb8.zip
nixos/home-assistant: add lovelaceConfig option
Diffstat (limited to 'nixos/tests/home-assistant.nix')
-rw-r--r--nixos/tests/home-assistant.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix
index 73c1e71eb516..6e8eda30e766 100644
--- a/nixos/tests/home-assistant.nix
+++ b/nixos/tests/home-assistant.nix
@@ -50,6 +50,17 @@ in {
               }
             ];
           };
+          lovelaceConfig = {
+            title = "My Awesome Home";
+            views = [ {
+              title = "Example";
+              cards = [ {
+                type = "markdown";
+                title = "Lovelace";
+                content = "Welcome to your **Lovelace UI**.";
+              } ];
+            } ];
+          };
         };
       };
   };