This commit is contained in:
mjallen18
2025-11-22 10:18:44 -06:00
parent 98aeb1646d
commit 4c839eb867

View File

@@ -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";
};
};
}