Skip to content
Snippets Groups Projects
Commit 66a6d509 authored by Florian Sesser's avatar Florian Sesser
Browse files

Grafana environment: Adhere to file naming conventions

parent 70806819
No related branches found
No related tags found
No related merge requests found
......@@ -80,9 +80,9 @@ in {
if !enableSlackAlert
then {}
else {
"grafanaEnvironment" = {
source = "${privateKeyPath}/grafanaEnvironment";
destination = "/run/keys/grafanaEnvironment";
"grafana-environment" = {
source = "${privateKeyPath}/grafana-environment";
destination = "/run/keys/grafana-environment";
owner.user = config.systemd.services.grafana.serviceConfig.User;
owner.group = config.users.users.grafana.group;
permissions = "0400";
......
......@@ -72,7 +72,7 @@ in {
};
grafanaEnvironmentFile = lib.mkOption
{ type = lib.types.path;
default = /run/keys/grafanaEnvironment;
default = /run/keys/grafana-environment;
description = "Where to find the Grafana Systemd EnvironmentFile.";
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment