Fix dependencies

This commit is contained in:
Jakob Lechner 2023-12-17 23:42:26 +00:00
parent 83c75dee75
commit 697f5208f9
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -62,9 +62,12 @@ in
*/
};
system.activationScripts.esphome-custom.text = ''
mkdir -p "${stateDir}/.esphome"
touch "${stateDir}/.gitignore"
chown esphome:esphome "${stateDir}/.esphome" "${stateDir}/.gitignore"
'';
system.activationScripts.esphome-custom = {
deps = [ "users" "groups" ];
text = ''
mkdir -p "${stateDir}/.esphome"
touch "${stateDir}/.gitignore"
chown esphome:esphome "${stateDir}/.esphome" "${stateDir}/.gitignore"
'';
};
}