From 7bf9f18260a40d28c93168d9a3ab9d0c0d26bee9 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Fri, 2 Feb 2024 09:13:18 +0800 Subject: [PATCH] feat(eientei): add home-assistant --- spec/eientei/hass.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 spec/eientei/hass.nix diff --git a/spec/eientei/hass.nix b/spec/eientei/hass.nix new file mode 100644 index 00000000..6c107b22 --- /dev/null +++ b/spec/eientei/hass.nix @@ -0,0 +1,20 @@ +{ pkgs +, config +, ...}: { + services.home-assistant = { + enable = true; + config = null; + configDir = "/nix/persist/service/hass"; + + extraComponents = [ + "default_config" + "met" + "esphome" + "synology_dsm" + ]; + }; + + nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ]; + + global.fs.zfs.mountpoints."/nix/persist/service/hass" = "service/hass"; +}