From 02086999cc0a04f409397a47267c5e91ffdd4d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 1 May 2024 19:18:28 +0200 Subject: [PATCH] Enable home-assistant for ha1 --- hosts/ha1/default.nix | 1 + services/home-assistant/default.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 services/home-assistant/default.nix diff --git a/hosts/ha1/default.nix b/hosts/ha1/default.nix index 4cd684a..2a9f276 100644 --- a/hosts/ha1/default.nix +++ b/hosts/ha1/default.nix @@ -1,5 +1,6 @@ { ... }: { imports = [ ./configuration.nix + ../../services/home-assistant ]; } diff --git a/services/home-assistant/default.nix b/services/home-assistant/default.nix new file mode 100644 index 0000000..3e30218 --- /dev/null +++ b/services/home-assistant/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + services.home-assistant = { + enable = true; + configWritable = true; + }; +}