This commit is contained in:
2025-08-03 21:43:55 +03:00
parent ba638f0a72
commit 240fd5cbc8

View File

@@ -27,8 +27,11 @@
# Allow grafana access to the sqlite db
users.users.eko.extraGroups = [ "grafana" ];
systemd.services.eko.serviceConfig.StateDirectoryMode = lib.mkForce 0750;
systemd.services.eko.serviceConfig.StateDirectory = "eko";
# systemd.services.eko.serviceConfig.StateDirectoryMode = lib.mkForce 0750;
# systemd.services.eko.serviceConfig.StateDirectory = "eko";
systemd.services.eko.serviceConfig.ReadWritePaths = [
"/var/lib/eko"
];
systemd.services.grafana = {
serviceConfig = {
ProtectHome = lib.mkForce false;