From 4c839eb867ffb62d9798c431afbb148c84485d83 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Sat, 22 Nov 2025 10:18:44 -0600 Subject: [PATCH] test --- modules/nixos/homeassistant/automations/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/nixos/homeassistant/automations/default.nix b/modules/nixos/homeassistant/automations/default.nix index dd6e3ef..323f6d6 100644 --- a/modules/nixos/homeassistant/automations/default.nix +++ b/modules/nixos/homeassistant/automations/default.nix @@ -142,12 +142,10 @@ in }; config = { - environment.etc."lightswitch-automations.yaml".text = lightswitchAutomations; - - systemd.tmpfiles.rules = [ - "d /var/lib/homeassistant/automations 0755 hass hass -" - "L+ /var/lib/hass/automations/lightswitches.yaml - - - - /etc/lightswitch-automations.yaml" - ]; - + environment.etc."hass/lightswitch-automations.yaml" = { + text = lightswitchAutomations; + user = "hass"; + group = "hass"; + }; }; }