Added tmpfiles to always update the permissions

This commit is contained in:
2025-08-03 19:10:09 +03:00
parent f1fe3e6511
commit 6f076ff991

View File

@@ -27,6 +27,7 @@
# Allow grafana access to the sqlite db
users.users.eko.group = lib.mkForce "grafana";
systemd.tmpfiles.rules = [ "d /var/lib/eko 0750 eko grafana -" ];
systemd.services.eko.serviceConfig.StateDirectoryMode = lib.mkForce "0750";
systemd.services.grafana = {
serviceConfig = {